X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/809ea71fa5b65a34a393ec4aa67d0f9c286c874e..73f6c4cab3d2bd514ab25a9fa998690cfdb26e29:/package/ppp/files/ifup.pppoa diff --git a/package/ppp/files/ifup.pppoa b/package/ppp/files/ifup.pppoa index 7fac6ccac..fc2e82eff 100644 --- a/package/ppp/files/ifup.pppoa +++ b/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