fix interface enumeration issues related to /var/state/network (thx to fish for debugging this)
SVN-Revision: 10715
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user