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>
lilik-openwrt-22.03
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() {
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


Loading…
Cancel
Save