From 43f6db64ff57f147ef9fb77e4dd2748a02a00fea Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Fri, 12 Aug 2005 22:11:18 +1000 Subject: - djm@cvs.openbsd.org 2005/07/30 02:03:47 [readconf.c] listen_hosts initialisation here too; spotted greg AT y2005.nest.cx --- ChangeLog | 5 ++++- readconf.c | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 835cada42..874a38fd7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -7,6 +7,9 @@ [ssh.c] fix -D listen_host initialisation, so it picks up gateway_ports setting correctly + - djm@cvs.openbsd.org 2005/07/30 02:03:47 + [readconf.c] + listen_hosts initialisation here too; spotted greg AT y2005.nest.cx 20050810 - (dtucker) [configure.ac] Test libedit library and headers for compatibility. @@ -2917,4 +2920,4 @@ - (djm) Trim deprecated options from INSTALL. Mention UsePAM - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu -$Id: ChangeLog,v 1.3867 2005/08/12 12:10:56 djm Exp $ +$Id: ChangeLog,v 1.3868 2005/08/12 12:11:18 djm Exp $ diff --git a/readconf.c b/readconf.c index 1e3c13239..cf27a9f41 100644 --- a/readconf.c +++ b/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" @@ -695,7 +695,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.", -- cgit v1.2.3