summaryrefslogtreecommitdiff
path: root/openwrt/package/ppp/files/ifup.pppoe
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/ppp/files/ifup.pppoe')
-rw-r--r--openwrt/package/ppp/files/ifup.pppoe1
1 files changed, 1 insertions, 0 deletions
diff --git a/openwrt/package/ppp/files/ifup.pppoe b/openwrt/package/ppp/files/ifup.pppoe
index 94179a3eaa..dbf58c380f 100644
--- a/openwrt/package/ppp/files/ifup.pppoe
+++ b/openwrt/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