diff options
author | Damien Miller <djm@mindrot.org> | 2009-02-14 16:28:21 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2009-02-14 16:28:21 +1100 |
commit | 4bf648f7766ba764d7a78b1dbb26df4f0d42a8c9 (patch) | |
tree | cc576e28218cb3ad9617a12eabe68c21a7e09614 /canohost.h | |
parent | fdd66fc750228b5d040c45bc36565299374b72c8 (diff) |
- djm@cvs.openbsd.org 2009/02/12 03:00:56
[canohost.c canohost.h channels.c channels.h clientloop.c readconf.c]
[readconf.h serverloop.c ssh.c]
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 'canohost.h')
-rw-r--r-- | canohost.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/canohost.h b/canohost.h index e33e8941b..d9b41ffe5 100644 --- a/canohost.h +++ b/canohost.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: canohost.h,v 1.9 2006/03/25 22:22:42 djm Exp $ */ | 1 | /* $OpenBSD: canohost.h,v 1.10 2009/02/12 03:00:56 djm Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
@@ -23,5 +23,7 @@ char *get_local_name(int); | |||
23 | 23 | ||
24 | int get_remote_port(void); | 24 | int get_remote_port(void); |
25 | int get_local_port(void); | 25 | int get_local_port(void); |
26 | int get_sock_port(int, int); | ||
27 | |||
26 | 28 | ||
27 | void ipv64_normalise_mapped(struct sockaddr_storage *, socklen_t *); | 29 | void ipv64_normalise_mapped(struct sockaddr_storage *, socklen_t *); |