diff options
author | Jo-Philipp Wich <jo@mein.io> | 2018-08-30 15:08:20 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2018-08-30 15:19:45 +0200 |
commit | 555c592304023a0d24216a6d8ed9d525602ae218 (patch) | |
tree | 6bd2e788c0c1f75c9dd80d009ae5024d6f30e940 /tools/gmp | |
parent | 4302c917cc4dc244c007c6c1902b8e138a74ed0e (diff) | |
download | upstream-555c592304023a0d24216a6d8ed9d525602ae218.tar.gz upstream-555c592304023a0d24216a6d8ed9d525602ae218.tar.bz2 upstream-555c592304023a0d24216a6d8ed9d525602ae218.zip |
ppp: remove hardcoded lcp-echo-failure, lcp-echo-interval values
OpenWrt used to ship hardcoded defaults for lcp-echo-failure and
lcp-echo-interval in the non-uci /etc/ppp/options file.
These values break uci support for *disabling* LCP echos through
the use of "option keepalive 0" as either omitting the keepalive
option or setting it to 0 will result in no lcp-echo-* flags
getting passed to the pppd cmdline, causing the pppd process to
revert to the defaults in /etc/ppp/options.
Address this issue by letting the uci "keepalive" option default
to the former hardcoded values "5, 1" and by removing the fixed
lcp-echo-failure and lcp-echo-interval settings from the
/etc/ppp/options files.
Ref: https://github.com/openwrt/luci/issues/2112
Ref: https://dev.archive.openwrt.org/ticket/2373.html
Ref: https://bugs.openwrt.org/index.php?do=details&task_id=854
Ref: https://bugs.openwrt.org/index.php?do=details&task_id=1259
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'tools/gmp')
0 files changed, 0 insertions, 0 deletions