libs/cbi: comply with changed firewall interface
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 8 Oct 2009 01:26:09 +0000 (01:26 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 8 Oct 2009 01:26:09 +0000 (01:26 +0000)
libs/cbi/luasrc/view/cbi/firewall_zonelist.htm

index fb1f5e5..847010b 100644 (file)
@@ -22,7 +22,7 @@ $Id$
        wbi.init(self.map.uci)
 
        local zone, iface, ifname
-       local zones = fwm.get_zones()
+       local zones = fwm:get_zones()
        local value = self:cfgvalue(section) or self.default
 
        if value and #value == 0 then value = nil end