git.99rst.org
/
openwrt-packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
5989f6c
)
sshtunnel: fixes validation bug with dynamic port forwarding.
author
Nuno Goncalves
<redacted>
Mon, 25 May 2015 21:03:13 +0000
(22:03 +0100)
committer
Nuno Goncalves
<redacted>
Mon, 25 May 2015 21:07:04 +0000
(22:07 +0100)
Thanks to Avi Alkalay <redacted>
Signed-off-by: Nuno Goncalves <redacted>
net/sshtunnel/files/sshtunnel.init
patch
|
blob
|
history
diff --git
a/net/sshtunnel/files/sshtunnel.init
b/net/sshtunnel/files/sshtunnel.init
index 4ca491f67f721e82e8cde56a463e4f784001e0b4..482ec6778416fb2cafb7da9f72e74c7e3af52b4e 100644
(file)
--- 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
git clone https://git.99rst.org/PROJECT