summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_pkttype.c
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2022-09-08 17:12:42 +0200
committerFlorian Westphal <fw@strlen.de>2022-09-08 17:54:26 +0200
commit0da2d1a35bd70d37f72d594927c0649d1dea4f7c (patch)
treecdb8d07e2ebd0da2f64fb10e70aa9e518ec8ab46 /extensions/libxt_pkttype.c
parent793caef9076cceb24336b6cbb8f55107de49f269 (diff)
extensions: libxt_pkttype: support otherhost
Makes no sense for iptables/ip6tables but it does make sense for ebtables. Classic ebtables uses libebt_pkttype which isn't compatible, but iptables-nft can use the libxt_pkttype version when printing native 'meta pkttype'. Signed-off-by: Florian Westphal <fw@strlen.de> Reviewed-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'extensions/libxt_pkttype.c')
-rw-r--r--extensions/libxt_pkttype.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/libxt_pkttype.c b/extensions/libxt_pkttype.c
index bf6f5b96..a76310b0 100644
--- a/extensions/libxt_pkttype.c
+++ b/extensions/libxt_pkttype.c
@@ -30,8 +30,8 @@ static const struct pkttypes supported_types[] = {
{"unicast", PACKET_HOST, 1, "to us"},
{"broadcast", PACKET_BROADCAST, 1, "to all"},
{"multicast", PACKET_MULTICAST, 1, "to group"},
-/*
{"otherhost", PACKET_OTHERHOST, 1, "to someone else"},
+/*
{"outgoing", PACKET_OUTGOING, 1, "outgoing of any type"},
*/
/* aliases */