projects
/
15.05
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d341167
)
Make MTU default to 1492 when ppp_mtu nvram variable is not set
author
Nicolas Thill
<nico@openwrt.org>
Wed, 10 Aug 2005 23:27:28 +0000
(23:27 +0000)
committer
Nicolas Thill
<nico@openwrt.org>
Wed, 10 Aug 2005 23:27:28 +0000
(23:27 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1606
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
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
94179a3
..
dbf58c3
100644
(file)
--- 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