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

Firewall zone must be a list

This commit is contained in:
Ycarus (Yannick Chabanois) 2020-12-18 20:42:44 +01:00
parent 38c06cef0c
commit f8b1e3a5e5

View file

@ -163,8 +163,10 @@ return view.extend({
var name = uci.get('firewall', section_id, 'name'),
cfgvalue = this.cfgvalue(section_id);
/*
if (typeof(cfgvalue) == 'string' && Array.isArray(formvalue) && (cfgvalue == formvalue.join(' ')))
return;
*/
var tasks = [ firewall.getZone(name) ];