summaryrefslogtreecommitdiffstats
path: root/package/ppp/files/ifup.pppoe
diff options
context:
space:
mode:
Diffstat (limited to 'package/ppp/files/ifup.pppoe')
-rw-r--r--package/ppp/files/ifup.pppoe1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/ppp/files/ifup.pppoe b/package/ppp/files/ifup.pppoe
index 94179a3ea..dbf58c380 100644
--- a/package/ppp/files/ifup.pppoe
+++ b/package/ppp/files/ifup.pppoe
@@ -23,6 +23,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}
ifconfig $IFNAME up