diff options
author | Damien Miller <djm@mindrot.org> | 2010-05-21 14:57:35 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2010-05-21 14:57:35 +1000 |
commit | 388f6fc48561851dcedd5433aff75f60af573fb2 (patch) | |
tree | 4ac7be863c3ba9be98df80c6d66953608cd77a6c /readconf.c | |
parent | d530f5f471491b6be9edb58a063f2590e4dce48d (diff) |
- markus@cvs.openbsd.org 2010/05/16 12:55:51
[PROTOCOL.mux clientloop.h mux.c readconf.c readconf.h ssh.1 ssh.c]
mux support for remote forwarding with dynamic port allocation,
use with
LPORT=`ssh -S muxsocket -R0:localhost:25 -O forward somehost`
feedback and ok djm@
Diffstat (limited to 'readconf.c')
-rw-r--r-- | readconf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/readconf.c b/readconf.c index 8bdc8caf1..4bc98b77e 100644 --- a/readconf.c +++ b/readconf.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: readconf.c,v 1.183 2010/02/08 10:50:20 markus Exp $ */ | 1 | /* $OpenBSD: readconf.c,v 1.184 2010/05/16 12:55:51 markus Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -283,6 +283,7 @@ add_remote_forward(Options *options, const Forward *newfwd) | |||
283 | fwd->listen_port = newfwd->listen_port; | 283 | fwd->listen_port = newfwd->listen_port; |
284 | fwd->connect_host = newfwd->connect_host; | 284 | fwd->connect_host = newfwd->connect_host; |
285 | fwd->connect_port = newfwd->connect_port; | 285 | fwd->connect_port = newfwd->connect_port; |
286 | fwd->allocated_port = 0; | ||
286 | } | 287 | } |
287 | 288 | ||
288 | static void | 289 | static void |