]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
extensions: libxt_pkttype: support otherhost
authorFlorian Westphal <fw@strlen.de>
Thu, 8 Sep 2022 15:12:42 +0000 (17:12 +0200)
committerFlorian Westphal <fw@strlen.de>
Thu, 8 Sep 2022 15:54:26 +0000 (17:54 +0200)
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>
extensions/libxt_pkttype.c

index bf6f5b96066207c97b9632c764dad049cbd1a3c0..a76310b053b40191e26e8652e46a6e9a6e194873 100644 (file)
@@ -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 */