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.h | |
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.h')
-rw-r--r-- | readconf.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/readconf.h b/readconf.h index 4264751c5..4fb29e2fa 100644 --- a/readconf.h +++ b/readconf.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: readconf.h,v 1.82 2010/02/08 10:50:20 markus Exp $ */ | 1 | /* $OpenBSD: readconf.h,v 1.83 2010/05/16 12:55:51 markus Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
@@ -23,6 +23,7 @@ typedef struct { | |||
23 | int listen_port; /* Port to forward. */ | 23 | int listen_port; /* Port to forward. */ |
24 | char *connect_host; /* Host to connect. */ | 24 | char *connect_host; /* Host to connect. */ |
25 | int connect_port; /* Port to connect on connect_host. */ | 25 | int connect_port; /* Port to connect on connect_host. */ |
26 | int allocated_port; /* Dynamically allocated listen port */ | ||
26 | } Forward; | 27 | } Forward; |
27 | /* Data structure for representing option data. */ | 28 | /* Data structure for representing option data. */ |
28 | 29 | ||