summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-status/htdocs/luci-static/resources/view
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2022-07-05 23:50:06 +0200
committerGitHub <noreply@github.com>2022-07-05 23:50:06 +0200
commit6d9e282f3a3a17a4cbd42ad7b4dbeff1816bf36a (patch)
tree2643ddb0c43c29813a3cb7e5f76c504d53e98d5f /modules/luci-mod-status/htdocs/luci-static/resources/view
parent2b25474059e4fc3c4b1e5b59d9a0e440cb586cb9 (diff)
parent88c62fe2187ebf28937cb49f880dada09937b194 (diff)
Merge pull request #5869 from galeksandrp/status-fix-oom-nftables
luci-mod-status: nftables.js: fix OOM on big nftables IP sets
Diffstat (limited to 'modules/luci-mod-status/htdocs/luci-static/resources/view')
-rw-r--r--modules/luci-mod-status/htdocs/luci-static/resources/view/status/nftables.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/nftables.js b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/nftables.js
index c5677c1ebb..3a11f1e830 100644
--- a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/nftables.js
+++ b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/nftables.js
@@ -133,7 +133,7 @@ var action_translations = {
return view.extend({
load: function() {
return Promise.all([
- L.resolveDefault(fs.exec_direct('/usr/sbin/nft', [ '--json', 'list', 'ruleset' ], 'json'), {}),
+ L.resolveDefault(fs.exec_direct('/usr/sbin/nft', [ '--terse', '--json', 'list', 'ruleset' ], 'json'), {}),
L.resolveDefault(fs.exec_direct('/usr/sbin/iptables-save'), ''),
L.resolveDefault(fs.exec_direct('/usr/sbin/ip6tables-save'), '')
]);