diff options
author | 2009-02-12 03:00:56 +0000 | |
---|---|---|
committer | 2009-02-12 03:00:56 +0000 | |
commit | 4edc3fd2c0c4499a2e3c11aadcdd1240a3f9ce9c (patch) | |
tree | a3473e75393306cad3fb05e44a4eb66b768d37f9 /usr.bin/ssh/channels.h | |
parent | revert pf.c r1.629 (which moved to this file) which was causing (diff) | |
download | wireguard-openbsd-4edc3fd2c0c4499a2e3c11aadcdd1240a3f9ce9c.tar.xz wireguard-openbsd-4edc3fd2c0c4499a2e3c11aadcdd1240a3f9ce9c.zip |
support remote port forwarding with a zero listen port (-R0:...) to
dyamically allocate a listen port at runtime (this is actually
specified in rfc4254); bz#1003 ok markus@
Diffstat (limited to 'usr.bin/ssh/channels.h')
-rw-r--r-- | usr.bin/ssh/channels.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/channels.h b/usr.bin/ssh/channels.h index 185b477b014..10b0c075a94 100644 --- a/usr.bin/ssh/channels.h +++ b/usr.bin/ssh/channels.h @@ -1,4 +1,4 @@ -/* $OpenBSD: channels.h,v 1.97 2009/01/22 09:46:01 djm Exp $ */ +/* $OpenBSD: channels.h,v 1.98 2009/02/12 03:00:56 djm Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> @@ -244,7 +244,7 @@ int channel_request_remote_forwarding(const char *, u_short, int channel_setup_local_fwd_listener(const char *, u_short, const char *, u_short, int); void channel_request_rforward_cancel(const char *host, u_short port); -int channel_setup_remote_fwd_listener(const char *, u_short, int); +int channel_setup_remote_fwd_listener(const char *, u_short, int *, int); int channel_cancel_rport_listener(const char *, u_short); /* x11 forwarding */ |