luci-app-firewall: fix family display for port forwards
authorJo-Philipp Wich <jo@mein.io>
Thu, 16 Jan 2020 12:54:22 +0000 (13:54 +0100)
committerJo-Philipp Wich <jo@mein.io>
Tue, 28 Jan 2020 17:30:39 +0000 (18:30 +0100)
commitf8265cefc795049bdf22559e597ad51eef9d40cf
treeb0e5204b9019599984bcedd16feb0e4269838fb7
parent1787cd4a4c39e3ef8bccde4e601c6a1d7c531471
luci-app-firewall: fix family display for port forwards

The underlying fw3 program currently only does IPv4 port forwards while
LuCI incorrectly reports IPv4 + IPv6 for each forward. Adjust the text
accordingly to fix this.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit a178cdb5cf67a3da8f37e5a8fd5d59fef301fb83)
applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js