X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/5606d99dae14e010d9e07d1bab940d1ea95ea391..586042df85d9eb774183e4fad67a11bf18ff303b:/openwrt/package/ppp/files/ifup.pppoa diff --git a/openwrt/package/ppp/files/ifup.pppoa b/openwrt/package/ppp/files/ifup.pppoa index 7fac6ccac..51b0fe334 100644 --- a/openwrt/package/ppp/files/ifup.pppoa +++ b/openwrt/package/ppp/files/ifup.pppoa @@ -24,8 +24,7 @@ while :; do IDLETIME=$(nvram get ppp_idletime) IDLETIME=${IDLETIME:+lcp-echo-failure $IDLETIME} MTU=$(nvram get ppp_mtu) - MTU=${MTU:-1492} - MTU=${MTU:+ mtu $MTU mru $MTU} + MTU=${MTU:-1500} /usr/sbin/pppd nodetach \ plugin pppoatm.so ${VPI:-8}.${VCI:-35} \ @@ -34,7 +33,7 @@ while :; do linkname $type \ user "$USERNAME" \ password "$PASSWORD" \ - $MTU \ + mtu $MTU mru $MTU \ $IDLETIME \ $REDIAL