aboutsummaryrefslogtreecommitdiff
path: root/extensions/libxt_cpu.txlate
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-11-06 20:14:28 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-11-06 20:14:28 +0000
commit2dfb854f121325d5c6f00b24c7cc5ea451122215 (patch)
treec13472d6baa12a26b2427a040b642a7524fa6aa2 /extensions/libxt_cpu.txlate
parentd6485a99e52eb50c9902173f59792c128c43aa0d (diff)
parent88a3f66954a066bb1852c1f30c000bb455d86f72 (diff)
downloadiptables-2dfb854f121325d5c6f00b24c7cc5ea451122215.tar.gz
Snap for 11028996 from 88a3f66954a066bb1852c1f30c000bb455d86f72 to mainline-permission-releaseaml_per_341410020aml_per_341311000android14-mainline-permission-release
Change-Id: I105345181bd657f25f7e0d0a1793c4481c61659a
Diffstat (limited to 'extensions/libxt_cpu.txlate')
-rw-r--r--extensions/libxt_cpu.txlate4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/libxt_cpu.txlate b/extensions/libxt_cpu.txlate
index c59b0e02..937c939e 100644
--- a/extensions/libxt_cpu.txlate
+++ b/extensions/libxt_cpu.txlate
@@ -1,5 +1,5 @@
iptables-translate -A INPUT -p tcp --dport 80 -m cpu --cpu 0 -j ACCEPT
-nft add rule ip filter INPUT tcp dport 80 cpu 0 counter accept
+nft 'add rule ip filter INPUT tcp dport 80 cpu 0 counter accept'
iptables-translate -A INPUT -p tcp --dport 80 -m cpu ! --cpu 1 -j ACCEPT
-nft add rule ip filter INPUT tcp dport 80 cpu != 1 counter accept
+nft 'add rule ip filter INPUT tcp dport 80 cpu != 1 counter accept'