diff options
author | Felix Fietkau <nbd@openwrt.org> | 2008-04-02 21:27:28 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2008-04-02 21:27:28 +0000 |
commit | 7a3bb84d5a9d299dd32cb24e387976ab65c4ceca (patch) | |
tree | 3e515b181750a1f7b81e4bf215c7cbe44b6901cc /package/ppp/files | |
parent | 8a7cacf92b921dfe044551b12f0c75ca1c467bf5 (diff) | |
download | master-187ad058-7a3bb84d5a9d299dd32cb24e387976ab65c4ceca.tar.gz master-187ad058-7a3bb84d5a9d299dd32cb24e387976ab65c4ceca.tar.bz2 master-187ad058-7a3bb84d5a9d299dd32cb24e387976ab65c4ceca.zip |
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/files')
-rw-r--r-- | package/ppp/files/pppoe.sh | 2 |
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} |