From fd00f35a4ffc6cbe3706abe5d92c28eb77829612 Mon Sep 17 00:00:00 2001 From: nbd Date: Wed, 2 Apr 2008 21:27:28 +0000 Subject: 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 --- package/ppp/files/pppoe.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/ppp/files') 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} -- cgit v1.2.3