Change mtu value for pppoa and pppoe (#945)
authorFlorian Fainelli <florian@openwrt.org>
Wed, 14 Mar 2007 19:00:10 +0000 (19:00 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Wed, 14 Mar 2007 19:00:10 +0000 (19:00 +0000)
SVN-Revision: 6566

package/ppp/files/pppoa.sh
package/ppp/files/pppoe.sh

index 28e237b85f82516cfa204cff899841c4a007e6a8..9b8a919ac519265b5db4ada0a849419c5246197d 100644 (file)
@@ -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
index f263caaeefa10204f5464b587ec9c7a0cd6182d1..86bddddf59d33bfa119a842c0c349ec6b345c3cc 100644 (file)
@@ -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 \