Browse Source

sshtunnel: fixes validation bug with dynamic port forwarding.

Thanks to Avi Alkalay <avi@unix.sh>

Signed-off-by: Nuno Goncalves <nunojpg@gmail.com>
Nuno Goncalves 9 years ago
parent
commit
76f57ca7eb
1 changed files with 0 additions and 1 deletions
  1. 0
    1
      net/sshtunnel/files/sshtunnel.init

+ 0
- 1
net/sshtunnel/files/sshtunnel.init View File

@@ -66,7 +66,6 @@ load_tunnelD() {
66 66
 	config_get localaddress $1 localaddress "*"
67 67
 	config_get localport	$1 localport
68 68
 
69
-        [ "$remoteport" -gt 0 ] || append_string "error" "[tunnelD: $1]remoteport must be a positive integer" "; "
70 69
         [ "$localport" -gt 0 ] 	|| append_string "error" "[tunnelD: $1]localport must be a positive integer" "; "
71 70
 	[ -n "$error" ] && return 1
72 71