mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-01-27 16:11:06 +02:00
Change mtu value for pppoa and pppoe (#945)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6566 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
e7448c7a3c
commit
4eb3ce394e
@ -15,7 +15,7 @@ setup_interface_pppoa() {
|
|||||||
done
|
done
|
||||||
|
|
||||||
config_get mtu "$cfg" mtu
|
config_get mtu "$cfg" mtu
|
||||||
mtu=${mtu:-1492}
|
mtu=${mtu:-1500}
|
||||||
start_pppd "$config" \
|
start_pppd "$config" \
|
||||||
plugin pppoatm.so ${vpi:-8}.${vci:-35} \
|
plugin pppoatm.so ${vpi:-8}.${vci:-35} \
|
||||||
mtu $mtu mru $mtu
|
mtu $mtu mru $mtu
|
||||||
|
@ -13,7 +13,7 @@ setup_interface_pppoe() {
|
|||||||
done
|
done
|
||||||
|
|
||||||
config_get mtu "$cfg" mtu
|
config_get mtu "$cfg" mtu
|
||||||
mtu=${mtu:-1480}
|
mtu=${mtu:-1492}
|
||||||
start_pppd "$config" \
|
start_pppd "$config" \
|
||||||
plugin rp-pppoe.so \
|
plugin rp-pppoe.so \
|
||||||
mtu $mtu mru $mtu \
|
mtu $mtu mru $mtu \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user