aboutsummaryrefslogtreecommitdiffstats
path: root/package/ppp/files/pppoe.sh
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-10-04 23:10:36 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-10-04 23:10:36 +0000
commit5659ec69182f34d66f59df41a55b4f6415a1e07d (patch)
tree5be5e80f2ac03c11bb592798203887428e1a78ff /package/ppp/files/pppoe.sh
parent829ae01f16404cd9b972108ba1ee49b25b12df17 (diff)
downloadupstream-5659ec69182f34d66f59df41a55b4f6415a1e07d.tar.gz
upstream-5659ec69182f34d66f59df41a55b4f6415a1e07d.tar.bz2
upstream-5659ec69182f34d66f59df41a55b4f6415a1e07d.zip
ppp: add workaround for ignored rp_pppoe_ac and rp_pppoe_service options by appending the nic-xxx argument last
SVN-Revision: 28364
Diffstat (limited to 'package/ppp/files/pppoe.sh')
-rw-r--r--package/ppp/files/pppoe.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/ppp/files/pppoe.sh b/package/ppp/files/pppoe.sh
index bbd36a11ab..99409f3f08 100644
--- a/package/ppp/files/pppoe.sh
+++ b/package/ppp/files/pppoe.sh
@@ -13,7 +13,7 @@ setup_interface_pppoe() {
config_get mtu "$config" mtu
mtu=${mtu:-1492}
start_pppd "$config" \
+ "nic-$iface" \
plugin rp-pppoe.so \
- mtu $mtu mru $mtu \
- "nic-$iface"
+ mtu $mtu mru $mtu
}