diff options
author | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-08-10 23:27:28 +0000 |
---|---|---|
committer | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-08-10 23:27:28 +0000 |
commit | 1ec9bfb350e3c3422cd4ba4b768caa25705ee554 (patch) | |
tree | 592fabf0c2687786d1587800ec0c5d15352ece88 | |
parent | db99e7aa38bcbfea7e873db11fee1ec6a2c28b89 (diff) |
Make MTU default to 1492 when ppp_mtu nvram variable is not set
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1606 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | package/ppp/files/ifup.pppoe | 1 |
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 |