lede-packages-rs

git clone git://archive.git.mtrnord.blog/MTRNord/lede-packages-rs.git
Log | Files | Refs | README | LICENSE

commit 76f57ca7eb4308d95118a5eb7ff7a5f73addf989
parent 5989f6ca0b47eb575c3df94cf473bcde0819f221
Author: Nuno Goncalves <nunojpg@gmail.com>
Date:   Mon, 25 May 2015 22:03:13 +0100

sshtunnel: fixes validation bug with dynamic port forwarding.

Thanks to Avi Alkalay <avi@unix.sh>

Signed-off-by: Nuno Goncalves <nunojpg@gmail.com>

Diffstat:
Mnet/sshtunnel/files/sshtunnel.init | 1-
1 file changed, 0 insertions(+), 1 deletion(-)

diff --git 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