1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Fix default device creation

This commit is contained in:
Ycarus (Yannick Chabanois) 2021-07-30 20:22:28 +02:00
parent 3d37fa3d07
commit 9a264e50ef

View file

@ -62,6 +62,8 @@ _setup_wan_interface() {
set network.$1.ip4table=wan
set network.$1.multipath=$3
set network.$1.defaultroute=0
set network.$1_dev=device
set network.$1_dev.name=$2
commit network
add_list firewall.@zone[1].network=$1
commit firewall