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 fb1f5e516de6d5ffe302b2e9c2b9ad670a7b643e..847010b7cbe0f35d26d5179ba696348c66bfb4f1 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