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

Firewall zone must be a list

This commit is contained in:
Ycarus (Yannick Chabanois) 2020-12-18 20:42:44 +01:00 committed by suyuan
parent 2b2cdc259a
commit 5186a66938

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) ];