X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/29d812257c591a9c395dc527710da1ce3659f386..495ea3c8471821855f1fc06ef5f66ffa05fabe62:/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}