diff options
author | djm <djm> | 2009-02-14 05:28:21 +0000 |
---|---|---|
committer | djm <djm> | 2009-02-14 05:28:21 +0000 |
commit | 9293abbe5cb50fbb0fc8a29b8b8f6e6c3647a3e0 (patch) | |
tree | 967b29bae668965211346d74880b6663ce319340 /clientloop.c | |
parent | 982555fb9205886ebe17d7145214d54360dbb721 (diff) | |
download | openssh-9293abbe5cb50fbb0fc8a29b8b8f6e6c3647a3e0.tar.gz |
- 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 'clientloop.c')
-rw-r--r-- | clientloop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clientloop.c b/clientloop.c index 1b5badb7..a2d2d1d0 100644 --- a/clientloop.c +++ b/clientloop.c @@ -1,4 +1,4 @@ -/* $OpenBSD: clientloop.c,v 1.208 2009/01/22 10:02:34 djm Exp $ */ +/* $OpenBSD: clientloop.c,v 1.209 2009/02/12 03:00:56 djm Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -849,7 +849,7 @@ process_cmdline(void) } channel_request_rforward_cancel(cancel_host, cancel_port); } else { - if (!parse_forward(&fwd, s, dynamic ? 1 : 0)) { + if (!parse_forward(&fwd, s, dynamic, remote)) { logit("Bad forwarding specification."); goto out; } |