Hi, How is this relevant if you don't know which port you got forward? This works in interactive mode because ssh reports it back, but running on the background how would you use it?
Thanks, Nuno On Wed, Dec 7, 2011 at 00:08, Qasim Javed <[email protected]> wrote: > Setting up sshtunnel in dynamic mode quits with an error regarding > remoteport. This field is not relevant for dynamic tunnel configuration, so > remove the check. > > Signed-off-by: Qasim Javed <[email protected]> > --- > net/sshtunnel/files/sshtunnel.init | 1 - > 1 files changed, 0 insertions(+), 1 deletions(-) > > diff --git a/net/sshtunnel/files/sshtunnel.init > b/net/sshtunnel/files/sshtunnel.init > index 3355e02..e3e6a46 100644 > --- a/net/sshtunnel/files/sshtunnel.init > +++ b/net/sshtunnel/files/sshtunnel.init > @@ -66,7 +66,6 @@ load_tunnelD() { > config_get localaddress $1 localaddress "*" > config_get localport $1 localport > > - [ "$remoteport" -gt 0 ] || append_string "error" "[tunnelD: > $1]remoteport must be a positive integer" "; " > [ "$localport" -gt 0 ] || append_string "error" "[tunnelD: > $1]localport must be a positive integer" "; " > [ -n "$error" ] && return 1 > > -- > 1.7.1 > > _______________________________________________ > openwrt-devel mailing list > [email protected] > https://lists.openwrt.org/mailman/listinfo/openwrt-devel -- + Nuno Gonçalves + [email protected] + http://nunoassimassim.blogspot.com/ + PORTUGAL E-mail sent directly from Google Mail webmail using HTTPS on behalf of Nuno João Pinto Gonçalves, birth date 1986-11-16. This e-mail header MUST contain a DKIM signature. If you require additional security, I may provide on request X509 electronic signature under Portuguese government chain. Se precisar de assinatura digital do Cartão de Cidadão, de uma apitadela. _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
