summaryrefslogtreecommitdiffstats
path: root/package/ppp
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-04-02 21:27:28 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-04-02 21:27:28 +0000
commitfd00f35a4ffc6cbe3706abe5d92c28eb77829612 (patch)
tree3e515b181750a1f7b81e4bf215c7cbe44b6901cc /package/ppp
parentc50d2a30f6038bdf66aea8bad7802371bbf9659a (diff)
fix interface enumeration issues related to /var/state/network (thx to fish for debugging this)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10715 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/ppp')
-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 f33d37a1a..e1c9a20cd 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}