mirror of git://anongit.mindrot.org/openssh.git
- markus@cvs.openbsd.org 2001/08/28 09:51:26
[readconf.c] don't set DynamicForward unless Host matches
This commit is contained in:
parent
78bbd9ebe3
commit
525a09389e
|
@ -36,6 +36,9 @@
|
|||
[ssh-keyscan.c]
|
||||
fix memory fault if non-existent filename is given to the -f option
|
||||
ok markus@
|
||||
- markus@cvs.openbsd.org 2001/08/28 09:51:26
|
||||
[readconf.c]
|
||||
don't set DynamicForward unless Host matches
|
||||
|
||||
20010815
|
||||
- (bal) Fixed stray code in readconf.c that went in by mistake.
|
||||
|
@ -6359,4 +6362,4 @@
|
|||
- Wrote replacements for strlcpy and mkdtemp
|
||||
- Released 1.0pre1
|
||||
|
||||
$Id: ChangeLog,v 1.1495 2001/09/12 17:10:40 mouring Exp $
|
||||
$Id: ChangeLog,v 1.1496 2001/09/12 17:35:27 mouring Exp $
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
*/
|
||||
|
||||
#include "includes.h"
|
||||
RCSID("$OpenBSD: readconf.c,v 1.86 2001/08/01 22:03:33 markus Exp $");
|
||||
RCSID("$OpenBSD: readconf.c,v 1.87 2001/08/28 09:51:26 markus Exp $");
|
||||
|
||||
#include "ssh.h"
|
||||
#include "xmalloc.h"
|
||||
|
@ -624,6 +624,7 @@ parse_int:
|
|||
if (fwd_port == 0)
|
||||
fatal("%.200s line %d: Badly formatted port number.",
|
||||
filename, linenum);
|
||||
if (*activep)
|
||||
add_local_forward(options, fwd_port, "socks4", 0);
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in New Issue