summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 94179a3eaa..dbf58c380f 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