summaryrefslogtreecommitdiff
path: root/channels.h
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2011-10-02 18:59:03 +1100
committerDarren Tucker <dtucker@zip.com.au>2011-10-02 18:59:03 +1100
commit68afb8c5f242ec74f48fd86137122399435dd757 (patch)
treea41fb99a2df717111d5c1a05f51b3791580218d1 /channels.h
parent1338b9e067055259033a05e14db0bc2ad5536482 (diff)
downloadopenssh-git-68afb8c5f242ec74f48fd86137122399435dd757.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 'channels.h')
-rw-r--r--channels.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/channels.h b/channels.h
index 6f316c82..c1f01c48 100644
--- a/channels.h
+++ b/channels.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: channels.h,v 1.108 2011/09/23 00:22:04 dtucker Exp $ */
+/* $OpenBSD: channels.h,v 1.109 2011/09/23 07:45:05 markus Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -253,6 +253,7 @@ void channel_set_af(int af);
void channel_permit_all_opens(void);
void channel_add_permitted_opens(char *, int);
int channel_add_adm_permitted_opens(char *, int);
+void channel_update_permitted_opens(int, int);
void channel_clear_permitted_opens(void);
void channel_clear_adm_permitted_opens(void);
void channel_print_adm_permitted_opens(void);