summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-status/root/usr/share/rpcd
diff options
context:
space:
mode:
authorAlexander Georgievskiy <galeksandrp@gmail.com>2022-07-05 14:13:50 +0300
committerAlexander Georgievskiy <galeksandrp@gmail.com>2022-07-05 15:00:38 +0300
commit88c62fe2187ebf28937cb49f880dada09937b194 (patch)
tree2643ddb0c43c29813a3cb7e5f76c504d53e98d5f /modules/luci-mod-status/root/usr/share/rpcd
parent2b25474059e4fc3c4b1e5b59d9a0e440cb586cb9 (diff)
luci-mod-status: nftables.js: fix OOM on big nftables IP sets
Signed-off-by: Alexander Georgievskiy <galeksandrp@gmail.com>
Diffstat (limited to 'modules/luci-mod-status/root/usr/share/rpcd')
-rw-r--r--modules/luci-mod-status/root/usr/share/rpcd/acl.d/luci-mod-status.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-mod-status/root/usr/share/rpcd/acl.d/luci-mod-status.json b/modules/luci-mod-status/root/usr/share/rpcd/acl.d/luci-mod-status.json
index f0dab25af2..18d267e801 100644
--- a/modules/luci-mod-status/root/usr/share/rpcd/acl.d/luci-mod-status.json
+++ b/modules/luci-mod-status/root/usr/share/rpcd/acl.d/luci-mod-status.json
@@ -71,7 +71,7 @@
"read": {
"cgi-io": [ "exec" ],
"file": {
- "/usr/sbin/nft --json list ruleset": [ "exec" ],
+ "/usr/sbin/nft --terse --json list ruleset": [ "exec" ],
"/usr/sbin/iptables --line-numbers -w -nvxL -t *": [ "exec" ],
"/usr/sbin/ip6tables --line-numbers -w -nvxL -t *": [ "exec" ],
"/usr/sbin/ip6tables": [ "list" ],