summaryrefslogtreecommitdiff
path: root/readconf.h
diff options
context:
space:
mode:
authordtucker <dtucker>2011-10-02 07:59:03 +0000
committerdtucker <dtucker>2011-10-02 07:59:03 +0000
commit2a1b94c0106d2948642096e7b753a932a72d1adc (patch)
tree83629a8b444bce22b8ac6f4be6e52cfb8a8dcc68 /readconf.h
parentf41bef90243a2a56489b69fac9c7268d17ef8d1e (diff)
downloadopenssh-2a1b94c0106d2948642096e7b753a932a72d1adc.tar.gz
- markus@cvs.openbsd.org 2011/09/23 07:45:05
[mux.c readconf.h channels.h compat.h compat.c ssh.c readconf.c channels.c version.h] unbreak remote portforwarding with dynamic allocated listen ports: 1) send the actual listen port in the open message (instead of 0). this allows multiple forwardings with a dynamic listen port 2) update the matching permit-open entry, so we can identify where to connect to report: den at skbkontur.ru and P. Szczygielski feedback and ok djm@
Diffstat (limited to 'readconf.h')
-rw-r--r--readconf.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/readconf.h b/readconf.h
index 5944cff9..be30ee0e 100644
--- a/readconf.h
+++ b/readconf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: readconf.h,v 1.90 2011/05/24 07:15:47 djm Exp $ */
+/* $OpenBSD: readconf.h,v 1.91 2011/09/23 07:45:05 markus Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -24,6 +24,7 @@ typedef struct {
char *connect_host; /* Host to connect. */
int connect_port; /* Port to connect on connect_host. */
int allocated_port; /* Dynamically allocated listen port */
+ int handle; /* Handle for dynamic listen ports */
} Forward;
/* Data structure for representing option data. */