aboutsummaryrefslogtreecommitdiffstats
path: root/package/ppp/files/pppoe.sh
diff options
context:
space:
mode:
Diffstat (limited to 'package/ppp/files/pppoe.sh')
-rw-r--r--package/ppp/files/pppoe.sh2
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}