diff options
author | djm <djm> | 2010-05-21 04:57:35 +0000 |
---|---|---|
committer | djm <djm> | 2010-05-21 04:57:35 +0000 |
commit | 2a1d137bc5ea8f3e0a7f0a56225dc22651cc60d7 (patch) | |
tree | e471f5ae3699defc527ee2043bcecd14bbc3c828 /readconf.c | |
parent | 8d913c5a133091ada50f7f6fec18b0e936505979 (diff) | |
download | openssh-2a1d137bc5ea8f3e0a7f0a56225dc22651cc60d7.tar.gz |
- 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
@@ -1,4 +1,4 @@ -/* $OpenBSD: readconf.c,v 1.183 2010/02/08 10:50:20 markus Exp $ */ +/* $OpenBSD: readconf.c,v 1.184 2010/05/16 12:55:51 markus Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -283,6 +283,7 @@ add_remote_forward(Options *options, const Forward *newfwd) fwd->listen_port = newfwd->listen_port; fwd->connect_host = newfwd->connect_host; fwd->connect_port = newfwd->connect_port; + fwd->allocated_port = 0; } static void |