luci-app-firewall: show port opening cbi section independently of lan zone definition
authorFlorian Eckert <fe@dev.tdt.de>
Mon, 11 Dec 2017 09:20:23 +0000 (10:20 +0100)
committerJo-Philipp Wich <jo@mein.io>
Tue, 9 Jan 2018 07:06:23 +0000 (08:06 +0100)
commit93c830869dde03c726180482554d47b3d3a3cf4b
tree81ef1dc3803b80bcd32d94a1ffd7aec5190abd08
parente034f271d8ef3102229d0d6d1067089d38984c34
luci-app-firewall: show port opening cbi section independently of lan zone definition

Current the append traffic rules for "port forwarding" and "port opening"
to the router are only shown if 'wan' and 'lan' zone are defined at
once.

For "port opening" to the router only need a 'wan' zone. Removing
'lan' zone dependency for 'port opening' reflect this behavior.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
applications/luci-app-firewall/luasrc/view/firewall/cbi_addrule.htm