layer2interface: create ethwan device with type untagged instead of attribute untagged

This commit is contained in:
Sukru Senli 2017-12-25 13:07:24 +01:00
parent 60dae510cc
commit 5a8f5e841c

View file

@ -124,8 +124,7 @@ populate_network_config_ifnames() {
uci -q get network.ethwan >/dev/null || {
uci -q set network.ethwan=device
uci -q set network.ethwan.type=8021q
uci -q set network.ethwan.untagged=1
uci -q set network.ethwan.type=untagged
uci -q set network.ethwan.ifname="$WANPORT"
uci -q set network.ethwan.name="$WANIFACE"
}