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 <qas...@gmail.com> --- 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 openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel