libs/cbi: comply with changed firewall interface
This commit is contained in:
parent
c7f225b133
commit
6c64745e2c
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ $Id$
|
||||||
wbi.init(self.map.uci)
|
wbi.init(self.map.uci)
|
||||||
|
|
||||||
local zone, iface, ifname
|
local zone, iface, ifname
|
||||||
local zones = fwm.get_zones()
|
local zones = fwm:get_zones()
|
||||||
local value = self:cfgvalue(section) or self.default
|
local value = self:cfgvalue(section) or self.default
|
||||||
|
|
||||||
if value and #value == 0 then value = nil end
|
if value and #value == 0 then value = nil end
|
||||||
|
|
Loading…
Reference in a new issue