From f4f7d687f0bcbcf6bd6b3bd1ae3da5d9e93f0c28 Mon Sep 17 00:00:00 2001 From: Felix Fietkau 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) SVN-Revision: 10715 --- package/ppp/files/pppoe.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/ppp') 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} -- cgit v1.2.3