aboutsummaryrefslogtreecommitdiffstats
path: root/package/ppp/files/pppoe.sh
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-04-02 21:27:28 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-04-02 21:27:28 +0000
commitf4f7d687f0bcbcf6bd6b3bd1ae3da5d9e93f0c28 (patch)
tree99cbe3efc2473e0e88eed73cf29eb91cee5d571f /package/ppp/files/pppoe.sh
parent1d3ed2fca01cee345ea6f6870f5c43b2d96cd712 (diff)
downloadupstream-f4f7d687f0bcbcf6bd6b3bd1ae3da5d9e93f0c28.tar.gz
upstream-f4f7d687f0bcbcf6bd6b3bd1ae3da5d9e93f0c28.tar.bz2
upstream-f4f7d687f0bcbcf6bd6b3bd1ae3da5d9e93f0c28.zip
fix interface enumeration issues related to /var/state/network (thx to fish for debugging this)
SVN-Revision: 10715
Diffstat (limited to 'package/ppp/files/pppoe.sh')
-rw-r--r--package/ppp/files/pppoe.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/ppp/files/pppoe.sh b/package/ppp/files/pppoe.sh
index f33d37a1a8..e1c9a20cd7 100644
--- a/package/ppp/files/pppoe.sh
+++ b/package/ppp/files/pppoe.sh
@@ -13,7 +13,7 @@ setup_interface_pppoe() {
# make sure the network state references the correct ifname
scan_ppp "$config"
config_get ifname "$config" ifname
- uci set "/var/state/network.$config.ifname=$ifname"
+ set_interface_ifname "$config" "$ifname"
config_get mtu "$cfg" mtu
mtu=${mtu:-1492}