projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
luci-app-firewall: rework internal/external zone list handling when adding forwards
[project/luci.git]
/
applications
/
luci-app-firewall
/
luasrc
/
view
/
firewall
/
cbi_addforward.htm
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
3726f64
..
3c46e22
100644
(file)
--- 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