netmode: remove wan6 for pppoe and static modes

This commit is contained in:
Sukru Senli 2025-12-04 15:16:25 +01:00 committed by Vivek Kumar Dutta
parent e56ad858aa
commit 09aa9746d5
No known key found for this signature in database
GPG key ID: 4E09F5AD8265FD4C
3 changed files with 7 additions and 2 deletions

View file

@ -57,7 +57,10 @@ l3_network_config() {
fi fi
uci -q set network.wan.device="$wandev" uci -q set network.wan.device="$wandev"
uci -q set network.wan6=interface
uci -q set network.wan6.device="$wandev" uci -q set network.wan6.device="$wandev"
uci -q set network.wan6.proto="dhcpv6"
uci -q set network.WAN.mtu="$NETMODE_mtu" uci -q set network.WAN.mtu="$NETMODE_mtu"

View file

@ -55,7 +55,8 @@ l3_network_pppoe_config() {
fi fi
uci -q set network.wan.device="$wandev" uci -q set network.wan.device="$wandev"
uci -q set network.wan6.device="$wandev"
uci -q delete network.wan6
uci -q set network.WAN.mtu="$NETMODE_mtu" uci -q set network.WAN.mtu="$NETMODE_mtu"

View file

@ -56,7 +56,8 @@ l3_network_config() {
fi fi
uci -q set network.wan.device="$wandev" uci -q set network.wan.device="$wandev"
uci -q set network.wan6.device="$wandev"
uci -q delete network.wan6
uci -q set network.WAN.mtu="$NETMODE_mtu" uci -q set network.WAN.mtu="$NETMODE_mtu"