diff options
author | John Crispin <john@openwrt.org> | 2014-07-01 10:26:07 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2014-07-01 10:26:07 +0000 |
commit | bf75e37030746e777116781dd4236a7f6d29aabd (patch) | |
tree | 9170a683d3e9b08d742e94e964b9e42ac34f4b88 /package/network | |
parent | 6240cc9e1733aa9ba9873c13bd8b107c574e52f3 (diff) | |
download | upstream-bf75e37030746e777116781dd4236a7f6d29aabd.tar.gz upstream-bf75e37030746e777116781dd4236a7f6d29aabd.tar.bz2 upstream-bf75e37030746e777116781dd4236a7f6d29aabd.zip |
ppp: fix keep alive option
currently the keepalive option needs to be removed to fully disable it. this patch allows us to set it to 0.
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41438
Diffstat (limited to 'package/network')
-rwxr-xr-x | package/network/services/ppp/files/ppp.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/services/ppp/files/ppp.sh b/package/network/services/ppp/files/ppp.sh index 4447d061a7..8f4cdebcef 100755 --- a/package/network/services/ppp/files/ppp.sh +++ b/package/network/services/ppp/files/ppp.sh @@ -32,7 +32,7 @@ ppp_generic_setup() { else demand="persist" fi - + [ "${keepalive:-0}" -lt 1 ] && keepalive="" [ -n "$mtu" ] || json_get_var mtu mtu [ -n "$pppname" ] || pppname="${proto:-ppp}-$config" |