#18199: interchange values "lcp-echo-interval" and "lcp-echo-failure"
--------------------------+----------------------------------
Reporter: casper.by@… | Owner: developers
Type: defect | Status: new
Priority: low | Milestone: Chaos Calmer (trunk)
Component: packages | Version: Trunk
Resolution: | Keywords: pptp pppd
--------------------------+----------------------------------
Comment (by anonymous):
Sorry it looks like I figured out what is the reason.
/etc/config/network
{{{
option keepalive 10
}}}
/lib/netifd/proto/ppp.sh
{{{
local interval="${keepalive##*[, ]}"
[ "$interval" != "$keepalive" ] || interval=5
...
${keepalive:+lcp-echo-interval $interval lcp-echo-failure
${keepalive%%[, ]*}}
}}}
keepalive is necessary to specify a comma-separated values, or the
interval is set to 5:
syntax: option keealive '<failure> [, interval]'
--
Ticket URL: <https://dev.openwrt.org/ticket/18199#comment:1>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets