mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-14 19:41:51 +00:00
Fix firewall from update
This commit is contained in:
parent
a445cba3c7
commit
284fda5ec7
1 changed files with 5 additions and 0 deletions
|
@ -157,6 +157,11 @@ uci -q del firewall.@zone[1].network
|
|||
for intf in $allintf; do
|
||||
uci -q add_list firewall.@zone[1].network=$intf
|
||||
done
|
||||
allintf=$(uci -q get firewall.zone_vpn.network)
|
||||
uci -q del firewall.zone_vpn.network
|
||||
for intf in $allintf; do
|
||||
uci -q add_list firewall.zone_vpn.network=$intf
|
||||
done
|
||||
|
||||
uci -q batch <<-EOF >/dev/null
|
||||
set firewall.@zone[0].mtu_fix='1'
|
||||
|
|
Loading…
Reference in a new issue