- 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
This commit is contained in:
parent
b5c012577e
commit
be1045dc58
|
@ -3,6 +3,10 @@
|
||||||
- markus@cvs.openbsd.org 2005/07/28 17:36:22
|
- markus@cvs.openbsd.org 2005/07/28 17:36:22
|
||||||
[packet.c]
|
[packet.c]
|
||||||
missing packet_init_compression(); from solar
|
missing packet_init_compression(); from solar
|
||||||
|
- 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
|
||||||
|
|
||||||
20050810
|
20050810
|
||||||
- (dtucker) [configure.ac] Test libedit library and headers for compatibility.
|
- (dtucker) [configure.ac] Test libedit library and headers for compatibility.
|
||||||
|
@ -2913,4 +2917,4 @@
|
||||||
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
|
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
|
||||||
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
|
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
|
||||||
|
|
||||||
$Id: ChangeLog,v 1.3866 2005/08/12 12:10:28 djm Exp $
|
$Id: ChangeLog,v 1.3867 2005/08/12 12:10:56 djm Exp $
|
||||||
|
|
4
ssh.c
4
ssh.c
|
@ -40,7 +40,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "includes.h"
|
#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/evp.h>
|
||||||
#include <openssl/err.h>
|
#include <openssl/err.h>
|
||||||
|
@ -439,7 +439,7 @@ again:
|
||||||
fwd.listen_host = cleanhostname(fwd.listen_host);
|
fwd.listen_host = cleanhostname(fwd.listen_host);
|
||||||
} else {
|
} else {
|
||||||
fwd.listen_port = a2port(fwd.listen_host);
|
fwd.listen_port = a2port(fwd.listen_host);
|
||||||
fwd.listen_host = "";
|
fwd.listen_host = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (fwd.listen_port == 0) {
|
if (fwd.listen_port == 0) {
|
||||||
|
|
Loading…
Reference in New Issue