luci-mod-status: consider family when rendering chains and rules
authorStefan Kleeschulte <[email protected]>
Fri, 17 Jan 2025 12:42:34 +0000 (13:42 +0100)
committerPaul Donald <[email protected]>
Tue, 8 Apr 2025 18:45:29 +0000 (20:45 +0200)
commitedbdc02c00642988f030a626dcd3b64a97e794c2
tree4255f6b5ce04a4a313e583a190fecfc5b7a46f1a
parent23477a1cea398f3f051e08aa7181afd86aeeb6cf
luci-mod-status: consider family when rendering chains and rules

There can be multiple tables with the same name but different family
attribute (inet, ip, ip6, ...). The same goes for chains. So the family
attribute needs to be considered when rendering chains and rules.

Signed-off-by: Stefan Kleeschulte <[email protected]>
(cherry picked from commit e79e7022e50bd1782a528f8c8ddd16f340fbce35)
modules/luci-mod-status/htdocs/luci-static/resources/view/status/nftables.js