- djm@cvs.openbsd.org 2005/07/30 02:03:47

[readconf.c]
     listen_hosts initialisation here too; spotted greg AT y2005.nest.cx
This commit is contained in:
Damien Miller 2005-08-12 22:11:18 +10:00
parent be1045dc58
commit 43f6db64ff
2 changed files with 6 additions and 3 deletions

View File

@ -7,6 +7,9 @@
[ssh.c]
fix -D listen_host initialisation, so it picks up gateway_ports setting
correctly
- djm@cvs.openbsd.org 2005/07/30 02:03:47
[readconf.c]
listen_hosts initialisation here too; spotted greg AT y2005.nest.cx
20050810
- (dtucker) [configure.ac] Test libedit library and headers for compatibility.
@ -2917,4 +2920,4 @@
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
$Id: ChangeLog,v 1.3867 2005/08/12 12:10:56 djm Exp $
$Id: ChangeLog,v 1.3868 2005/08/12 12:11:18 djm Exp $

View File

@ -12,7 +12,7 @@
*/
#include "includes.h"
RCSID("$OpenBSD: readconf.c,v 1.142 2005/07/17 07:17:55 djm Exp $");
RCSID("$OpenBSD: readconf.c,v 1.143 2005/07/30 02:03:47 djm Exp $");
#include "ssh.h"
#include "xmalloc.h"
@ -695,7 +695,7 @@ parse_int:
fwd.listen_host = cleanhostname(fwd.listen_host);
} else {
fwd.listen_port = a2port(fwd.listen_host);
fwd.listen_host = "";
fwd.listen_host = NULL;
}
if (fwd.listen_port == 0)
fatal("%.200s line %d: Badly formatted port number.",