luci-mod-status: fix iptables not showing comments
[project/luci.git] / modules / luci-mod-status / htdocs / luci-static / resources / view / status / iptables.js
index 951c31218d858e1f81ac8137778788cd2655613d..e409a5ac50cf30821761d46d2a839576fe23f3ca 100644 (file)
@@ -173,7 +173,7 @@ return view.extend({
                                        srcnet,
                                        dstnet,
                                        options,
-                                       [ comment ]
+                                       [ comment, '%h'.format(comment) ]
                                ]);
 
                                if (target) {