diff options
author | Damien Miller <djm@mindrot.org> | 2005-08-12 22:10:56 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2005-08-12 22:10:56 +1000 |
commit | be1045dc588ff001674033bce06a65db73ad3654 (patch) | |
tree | 53b0a7d2f9546181501fffec70f8d95c7e6d8449 /ssh.c | |
parent | b5c012577eacee821313ca586464e6e4c2e5daa5 (diff) |
- djm@cvs.openbsd.org 2005/07/30 01:26:16
[ssh.c]
fix -D listen_host initialisation, so it picks up gateway_ports setting
correctly
Diffstat (limited to 'ssh.c')
-rw-r--r-- | ssh.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -40,7 +40,7 @@ | |||
40 | */ | 40 | */ |
41 | 41 | ||
42 | #include "includes.h" | 42 | #include "includes.h" |
43 | RCSID("$OpenBSD: ssh.c,v 1.248 2005/07/16 01:35:24 djm Exp $"); | 43 | RCSID("$OpenBSD: ssh.c,v 1.249 2005/07/30 01:26:16 djm Exp $"); |
44 | 44 | ||
45 | #include <openssl/evp.h> | 45 | #include <openssl/evp.h> |
46 | #include <openssl/err.h> | 46 | #include <openssl/err.h> |
@@ -439,7 +439,7 @@ again: | |||
439 | fwd.listen_host = cleanhostname(fwd.listen_host); | 439 | fwd.listen_host = cleanhostname(fwd.listen_host); |
440 | } else { | 440 | } else { |
441 | fwd.listen_port = a2port(fwd.listen_host); | 441 | fwd.listen_port = a2port(fwd.listen_host); |
442 | fwd.listen_host = ""; | 442 | fwd.listen_host = NULL; |
443 | } | 443 | } |
444 | 444 | ||
445 | if (fwd.listen_port == 0) { | 445 | if (fwd.listen_port == 0) { |