summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordjm <djm@openbsd.org>2005-07-30 02:03:47 +0000
committerdjm <djm@openbsd.org>2005-07-30 02:03:47 +0000
commit87c235490b138b254187d81546d6aa89be98b7a8 (patch)
treea84664dc5c1975b6ebfa50a0213b7e94bb500ee8
parentfix -D listen_host initialisation, so it picks up gateway_ports setting (diff)
downloadwireguard-openbsd-87c235490b138b254187d81546d6aa89be98b7a8.tar.xz
wireguard-openbsd-87c235490b138b254187d81546d6aa89be98b7a8.zip
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.",