From: Jo-Philipp Wich Date: Mon, 26 Jan 2015 16:55:09 +0000 (+0100) Subject: luci-app-firewall: rework internal/external zone list handling when adding forwards X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=44a62295f9fbf68ac47d3f3625d9cba6e9842757;p=project%2Fluci.git luci-app-firewall: rework internal/external zone list handling when adding forwards Signed-off-by: Jo-Philipp Wich --- diff --git a/applications/luci-app-firewall/luasrc/view/firewall/cbi_addforward.htm b/applications/luci-app-firewall/luasrc/view/firewall/cbi_addforward.htm index 3726f643df..3c46e228f7 100644 --- a/applications/luci-app-firewall/luasrc/view/firewall/cbi_addforward.htm +++ b/applications/luci-app-firewall/luasrc/view/firewall/cbi_addforward.htm @@ -6,7 +6,8 @@ for _, z in ipairs(fw:get_zones()) do if z:name() ~= "wan" then izl[#izl+1] = z - elseif z:name() ~= "lan" then + end + if z:name() ~= "lan" then ezl[#ezl+1] = z end end