From be1045dc588ff001674033bce06a65db73ad3654 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Fri, 12 Aug 2005 22:10:56 +1000 Subject: - 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 --- ssh.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ssh.c') diff --git a/ssh.c b/ssh.c index cabc538e3..c9e5aac7a 100644 --- a/ssh.c +++ b/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 #include @@ -439,7 +439,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) { -- cgit v1.2.3