aboutsummaryrefslogtreecommitdiff
path: root/extensions/libxt_pkttype.txlate
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-12-15 09:22:32 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-12-15 09:22:32 +0000
commit097e968ac5de266fa38ddebc311f3c2fdfb47828 (patch)
treec13472d6baa12a26b2427a040b642a7524fa6aa2 /extensions/libxt_pkttype.txlate
parentd5cc7e9c6a5e7781d16a1b8eb0d7c63cd8839d00 (diff)
parent24e5ad9a4bc4ca628574b91be215be2caccd1e8b (diff)
downloadiptables-029707a037474bf8a9702097106f63e68be9bda3.tar.gz
Snap for 11224086 from 24e5ad9a4bc4ca628574b91be215be2caccd1e8b to mainline-tzdata5-releaseaml_tz5_341510070aml_tz5_341510050aml_tz5_341510010aml_tz5_341510010
Change-Id: I5237657868b63a1b12981d203443e401fea57205
Diffstat (limited to 'extensions/libxt_pkttype.txlate')
-rw-r--r--extensions/libxt_pkttype.txlate6
1 files changed, 3 insertions, 3 deletions
diff --git a/extensions/libxt_pkttype.txlate b/extensions/libxt_pkttype.txlate
index 6506a380..c69f56f9 100644
--- a/extensions/libxt_pkttype.txlate
+++ b/extensions/libxt_pkttype.txlate
@@ -1,8 +1,8 @@
iptables-translate -A INPUT -m pkttype --pkt-type broadcast -j DROP
-nft add rule ip filter INPUT pkttype broadcast counter drop
+nft 'add rule ip filter INPUT pkttype broadcast counter drop'
iptables-translate -A INPUT -m pkttype ! --pkt-type unicast -j DROP
-nft add rule ip filter INPUT pkttype != unicast counter drop
+nft 'add rule ip filter INPUT pkttype != unicast counter drop'
iptables-translate -A INPUT -m pkttype --pkt-type multicast -j ACCEPT
-nft add rule ip filter INPUT pkttype multicast counter accept
+nft 'add rule ip filter INPUT pkttype multicast counter accept'