summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2005-07-30 02:03:48 +0000
committerDamien Miller <djm@cvs.openbsd.org>2005-07-30 02:03:48 +0000
commit8c0dc0dbd242f56c81f7801e86c9b3b5e86b4e69 (patch)
treef96c8fe02ea334bce3999e41f1e69257c6715e3f
parent32c503ee935ffd24ff50ed70599e8d185b12ba93 (diff)
listen_hosts initialisation here too; spotted greg AT y2005.nest.cx
-rw-r--r--usr.bin/ssh/readconf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/readconf.c b/usr.bin/ssh/readconf.c
index ed2119c8ddc..8986dba06be 100644
--- a/usr.bin/ssh/readconf.c
+++ b/usr.bin/ssh/readconf.c
@@ -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"
@@ -693,7 +693,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.",