X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/29d812257c591a9c395dc527710da1ce3659f386..7196f4da13523994b276518dd12fbe8edfdfff56:/package/ppp/files/pppoe.sh 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}