increase lcp echo interval
authorFelix Fietkau <nbd@openwrt.org>
Fri, 31 Mar 2006 17:11:37 +0000 (17:11 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 31 Mar 2006 17:11:37 +0000 (17:11 +0000)
SVN-Revision: 3559

openwrt/package/ppp/files/ifup.pppoe
openwrt/package/pptp/files/ifup.pptp

index c13949b12138552673a8ddf363f1f5c1d186d6e6..07d4ea2e6441c098566cd626f2e8b7a4f9edd884 100644 (file)
@@ -17,7 +17,7 @@ done
        USERNAME=$(nvram get ppp_username)
        PASSWORD=$(nvram get ppp_passwd)
        KEEPALIVE=$(nvram get ppp_redialperiod)
-       KEEPALIVE=${KEEPALIVE:+lcp-echo-interval 1 lcp-echo-failure $KEEPALIVE}
+       KEEPALIVE=${KEEPALIVE:+lcp-echo-failure 5 lcp-echo-interval $KEEPALIVE}
        DEMAND=$(nvram get ppp_demand)
        case "$DEMAND" in
                on|1|enabled)
index 25202ddbad35a8b0ccefef9fe519e80064a525f2..bbcc4d57206e83ad23c92f78b97e42d15d4123a5 100644 (file)
@@ -18,7 +18,7 @@ done
        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-failure 10 lcp-echo-interval $KEEPALIVE}
        DEMAND=$(nvram get ppp_demand)
        case "$DEMAND" in
                on|1|enabled)