luci-0.10: merge r7268
This commit is contained in:
parent
deb6905314
commit
f1958c0b84
1 changed files with 4 additions and 0 deletions
|
@ -82,6 +82,10 @@ function s.create(self)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function s.remove(self, section)
|
||||||
|
return fw:del_zone(section)
|
||||||
|
end
|
||||||
|
|
||||||
info = s:option(DummyValue, "_info", translate("Zone ⇒ Forwardings"))
|
info = s:option(DummyValue, "_info", translate("Zone ⇒ Forwardings"))
|
||||||
info.template = "cbi/firewall_zoneforwards"
|
info.template = "cbi/firewall_zoneforwards"
|
||||||
function info.cfgvalue(self, section)
|
function info.cfgvalue(self, section)
|
||||||
|
|
Loading…
Reference in a new issue