summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/ssh.c
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2005-07-30 01:26:17 +0000
committerDamien Miller <djm@cvs.openbsd.org>2005-07-30 01:26:17 +0000
commit32c503ee935ffd24ff50ed70599e8d185b12ba93 (patch)
tree0b2c586787dc3c7806817a4df0824e2345737782 /usr.bin/ssh/ssh.c
parent01b24c85b5dd2c0e78975b4e1ad2db222afe3027 (diff)
fix -D listen_host initialisation, so it picks up gateway_ports setting
correctly
Diffstat (limited to 'usr.bin/ssh/ssh.c')
-rw-r--r--usr.bin/ssh/ssh.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/ssh.c b/usr.bin/ssh/ssh.c
index a70feab275a..328bfda3eac 100644
--- a/usr.bin/ssh/ssh.c
+++ b/usr.bin/ssh/ssh.c
@@ -40,7 +40,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: ssh.c,v 1.248 2005/07/16 01:35:24 djm Exp $");
+RCSID("$OpenBSD: ssh.c,v 1.249 2005/07/30 01:26:16 djm Exp $");
#include <openssl/evp.h>
#include <openssl/err.h>
@@ -434,7 +434,7 @@ again:
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) {