aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-02-08 18:28:21 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-02-08 18:28:21 +0000
commita67a857eb657593a1df823bc7a99000b8027e82a (patch)
tree1461872a6bb4df0320372e39bed76311a5174a28
parent37de0b4c7e287db4046db48472135580ab6d2e8f (diff)
downloadupstream-a67a857eb657593a1df823bc7a99000b8027e82a.tar.gz
upstream-a67a857eb657593a1df823bc7a99000b8027e82a.tar.bz2
upstream-a67a857eb657593a1df823bc7a99000b8027e82a.zip
pppo*: change lcp-echo-interval to 1s instead of 10s
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3191 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/ppp/files/ifup.pppoa2
-rw-r--r--package/ppp/files/ifup.pppoe2
2 files changed, 2 insertions, 2 deletions
diff --git a/package/ppp/files/ifup.pppoa b/package/ppp/files/ifup.pppoa
index 475224ff35..2ae6019c51 100644
--- a/package/ppp/files/ifup.pppoa
+++ b/package/ppp/files/ifup.pppoa
@@ -19,7 +19,7 @@ VCI=$(nvram get atm_vci)
USERNAME=$(nvram get ppp_username)
PASSWORD=$(nvram get ppp_passwd)
KEEPALIVE=$(nvram get ppp_redialperiod)
-KEEPALIVE=${KEEPALIVE:+lcp-echo-interval 10 lcp-echo-failure $KEEPALIVE}
+KEEPALIVE=${KEEPALIVE:+lcp-echo-interval 1 lcp-echo-failure $KEEPALIVE}
DEMAND=$(nvram get ppp_demand)
case "$DEMAND" in
on|1|enabled)
diff --git a/package/ppp/files/ifup.pppoe b/package/ppp/files/ifup.pppoe
index b43d2689bd..d4a79aedd5 100644
--- a/package/ppp/files/ifup.pppoe
+++ b/package/ppp/files/ifup.pppoe
@@ -18,7 +18,7 @@ IFNAME=$(nvram get ${type}_device)
USERNAME=$(nvram get ppp_username)
PASSWORD=$(nvram get ppp_passwd)
KEEPALIVE=$(nvram get ppp_redialperiod)
-KEEPALIVE=${KEEPALIVE:+lcp-echo-interval 10 lcp-echo-failure $KEEPALIVE}
+KEEPALIVE=${KEEPALIVE:+lcp-echo-interval 1 lcp-echo-failure $KEEPALIVE}
DEMAND=$(nvram get ppp_demand)
case "$DEMAND" in
on|1|enabled)