aboutsummaryrefslogtreecommitdiff
path: root/extensions/libipt_REJECT.txlate
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-10-30 20:42:42 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-10-30 20:42:42 +0000
commit19298380ae51078a6d24cf52d5fcf2a094e922dd (patch)
treec13472d6baa12a26b2427a040b642a7524fa6aa2 /extensions/libipt_REJECT.txlate
parentd1a0d9dc58c7d5ef2d9a8f60de33c2c050815cc2 (diff)
parent2f7a7bc2876128cb8af139be42a18ae15fa6c4d9 (diff)
downloadiptables-19298380ae51078a6d24cf52d5fcf2a094e922dd.tar.gz
Snap for 11024862 from 2f7a7bc2876128cb8af139be42a18ae15fa6c4d9 to simpleperf-release
Change-Id: I94d06f2386e756498739362a6a1cadd91b42a061
Diffstat (limited to 'extensions/libipt_REJECT.txlate')
-rw-r--r--extensions/libipt_REJECT.txlate6
1 files changed, 3 insertions, 3 deletions
diff --git a/extensions/libipt_REJECT.txlate b/extensions/libipt_REJECT.txlate
index a1bfb5f4..022166a6 100644
--- a/extensions/libipt_REJECT.txlate
+++ b/extensions/libipt_REJECT.txlate
@@ -1,8 +1,8 @@
iptables-translate -A FORWARD -p TCP --dport 22 -j REJECT
-nft add rule ip filter FORWARD tcp dport 22 counter reject
+nft 'add rule ip filter FORWARD tcp dport 22 counter reject'
iptables-translate -A FORWARD -p TCP --dport 22 -j REJECT --reject-with icmp-net-unreachable
-nft add rule ip filter FORWARD tcp dport 22 counter reject with icmp type net-unreachable
+nft 'add rule ip filter FORWARD tcp dport 22 counter reject with icmp type net-unreachable'
iptables-translate -A FORWARD -p TCP --dport 22 -j REJECT --reject-with tcp-reset
-nft add rule ip filter FORWARD tcp dport 22 counter reject with tcp reset
+nft 'add rule ip filter FORWARD tcp dport 22 counter reject with tcp reset'