projects
/
openwrt
/
svn-archive
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c7b7fb
)
Make MTU default to 1492 when ppp_mtu nvram variable is not set
author
Nicolas Thill
<nico@openwrt.org>
Wed, 10 Aug 2005 23:18:22 +0000
(23:18 +0000)
committer
Nicolas Thill
<nico@openwrt.org>
Wed, 10 Aug 2005 23:18:22 +0000
(23:18 +0000)
SVN-Revision: 1604
openwrt/package/ppp/files/ifup.pppoe
patch
|
blob
|
history
diff --git
a/openwrt/package/ppp/files/ifup.pppoe
b/openwrt/package/ppp/files/ifup.pppoe
index 6bac6a6d15b38aa4a3b91abcf2d441c01372543d..560a9069890dd99cafbd1b41a14d95090b08365e 100644
(file)
--- a/
openwrt/package/ppp/files/ifup.pppoe
+++ b/
openwrt/package/ppp/files/ifup.pppoe
@@
-21,6
+21,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