From: Nicolas Thill Date: Wed, 10 Aug 2005 23:27:28 +0000 (+0000) Subject: Make MTU default to 1492 when ppp_mtu nvram variable is not set X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e0f3c67024ea3069c4ae129110b883c44647b00f;p=openwrt%2Fstaging%2Fansuel.git Make MTU default to 1492 when ppp_mtu nvram variable is not set SVN-Revision: 1606 --- 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