diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-09-12 17:35:27 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-09-12 17:35:27 +0000 |
commit | 525a09389e05c2134b41ccee87deae5cff31d66f (patch) | |
tree | 1b4fce61aa5f08c25a2d321bfbf03c39df4c09eb /readconf.c | |
parent | 78bbd9ebe348a4dc5dda23db4e281d90eeef85d5 (diff) |
- markus@cvs.openbsd.org 2001/08/28 09:51:26
[readconf.c]
don't set DynamicForward unless Host matches
Diffstat (limited to 'readconf.c')
-rw-r--r-- | readconf.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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,7 +624,8 @@ parse_int: if (fwd_port == 0) fatal("%.200s line %d: Badly formatted port number.", filename, linenum); - add_local_forward(options, fwd_port, "socks4", 0); + if (*activep) + add_local_forward(options, fwd_port, "socks4", 0); break; case oHost: |