1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-02-12 10:31:51 +00:00

Update firewall app to upstream

This commit is contained in:
Ycarus (Yannick Chabanois) 2020-11-27 18:12:31 +01:00
parent 4e6ba9a587
commit 9b30f42277
2 changed files with 4 additions and 1 deletions

View file

@ -308,6 +308,7 @@ return view.extend({
o.value('network-redirect');
o.value('network-unknown');
o.value('network-unreachable');
o.value('packet-too-big');
o.value('parameter-problem');
o.value('port-unreachable');
o.value('precedence-cutoff');

View file

@ -177,9 +177,11 @@ return view.extend({
}
return Promise.all(tasks).then(function(zone_networks) {
if (zone_networks[0])
if (zone_networks[0]) {
zone_networks[0].clearNetworks();
for (var i = 1; i < zone_networks.length; i++)
zone_networks[0].addNetwork(zone_networks[i].getName());
}
});
};