diff options
author | 2005-07-30 01:26:16 +0000 | |
---|---|---|
committer | 2005-07-30 01:26:16 +0000 | |
commit | 7309898edec45bf256cfe191ddccc4170c9d4c83 (patch) | |
tree | 46f3724c46dcb421cd46a348515bb3410771c1e7 /usr.bin/ssh/ssh.c | |
parent | add missing -r in usage(); (diff) | |
download | wireguard-openbsd-7309898edec45bf256cfe191ddccc4170c9d4c83.tar.xz wireguard-openbsd-7309898edec45bf256cfe191ddccc4170c9d4c83.zip |
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.c | 4 |
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) { |