From: Liangbin Lian Date: Tue, 5 Sep 2023 06:26:33 +0000 (+0800) Subject: luci-mod-status: fix iptables not showing comments X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=2ca117c5a6a5c1cd047272548e53435c4d3adebc;p=openwrt-luci.git luci-mod-status: fix iptables not showing comments Signed-off-by: Liangbin Lian --- diff --git a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/iptables.js b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/iptables.js index 951c31218d..e409a5ac50 100644 --- a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/iptables.js +++ b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/iptables.js @@ -173,7 +173,7 @@ return view.extend({ srcnet, dstnet, options, - [ comment ] + [ comment, '%h'.format(comment) ] ]); if (target) {