aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2007-03-14 19:00:10 +0000
committerFlorian Fainelli <florian@openwrt.org>2007-03-14 19:00:10 +0000
commit70a1d9498cc67a52e377615e432887e12d6796e8 (patch)
tree2315e01dc09b96f017e828381e981ef7d076748e
parent812529c2fa690b6fbafef9df1b7badf2d94c07c0 (diff)
downloadupstream-70a1d9498cc67a52e377615e432887e12d6796e8.tar.gz
upstream-70a1d9498cc67a52e377615e432887e12d6796e8.tar.bz2
upstream-70a1d9498cc67a52e377615e432887e12d6796e8.zip
Change mtu value for pppoa and pppoe (#945)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6566 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/ppp/files/pppoa.sh2
-rw-r--r--package/ppp/files/pppoe.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/package/ppp/files/pppoa.sh b/package/ppp/files/pppoa.sh
index 28e237b85f..9b8a919ac5 100644
--- a/package/ppp/files/pppoa.sh
+++ b/package/ppp/files/pppoa.sh
@@ -15,7 +15,7 @@ setup_interface_pppoa() {
done
config_get mtu "$cfg" mtu
- mtu=${mtu:-1492}
+ mtu=${mtu:-1500}
start_pppd "$config" \
plugin pppoatm.so ${vpi:-8}.${vci:-35} \
mtu $mtu mru $mtu
diff --git a/package/ppp/files/pppoe.sh b/package/ppp/files/pppoe.sh
index f263caaeef..86bddddf59 100644
--- a/package/ppp/files/pppoe.sh
+++ b/package/ppp/files/pppoe.sh
@@ -13,7 +13,7 @@ setup_interface_pppoe() {
done
config_get mtu "$cfg" mtu
- mtu=${mtu:-1480}
+ mtu=${mtu:-1492}
start_pppd "$config" \
plugin rp-pppoe.so \
mtu $mtu mru $mtu \