netmode: set MTU on WAN device section

This commit is contained in:
Sukru Senli 2025-11-05 15:44:01 +01:00
parent d5c15c995e
commit 3ae1ba4530
3 changed files with 3 additions and 3 deletions

View file

@ -59,7 +59,7 @@ l3_network_config() {
uci -q set network.wan.device="$wandev"
uci -q set network.wan6.device="$wandev"
uci -q set network.wan.mtu="$NETMODE_mtu"
uci -q set network.WAN.mtu="$NETMODE_mtu"
uci -q delete network.wan.dns
if [ -n "$NETMODE_dns_servers" ]; then

View file

@ -57,7 +57,7 @@ l3_network_pppoe_config() {
uci -q set network.wan.device="$wandev"
uci -q set network.wan6.device="$wandev"
uci -q set network.wan.mtu="$NETMODE_mtu"
uci -q set network.WAN.mtu="$NETMODE_mtu"
uci -q delete network.wan.dns
if [ -n "$NETMODE_dns_servers" ]; then

View file

@ -58,7 +58,7 @@ l3_network_config() {
uci -q set network.wan.device="$wandev"
uci -q set network.wan6.device="$wandev"
uci -q set network.wan.mtu="$NETMODE_mtu"
uci -q set network.WAN.mtu="$NETMODE_mtu"
uci -q delete network.wan.dns
if [ -n "$NETMODE_dns_servers" ]; then