luci-app-firewall: update cbi models
[project/luci.git] / applications / luci-app-firewall / luasrc / model / cbi / firewall / zones.lua
index 2c5083a019b5202acd5920009a163144ac2892c7..46402a8fc19bc6ad29c2fbc8351fee7bc5bf6257 100644 (file)
@@ -62,6 +62,11 @@ s.anonymous = true
 s.addremove = true
 s.extedit   = ds.build_url("admin", "network", "firewall", "zones", "%s")
 
+function s.sectiontitle(self, sid)
+       local z = fw:get_zone(sid)
+       return z:name()
+end
+
 function s.create(self)
        local z = fw:new_zone()
        if z then