Skip to content
Commit 36ce9982 authored by Florian Westphal's avatar Florian Westphal
Browse files

xtables: move icmp/icmpv6 logic to xt_tcpudp



icmp/icmp6 matches are baked into ip(6)_tables.ko.

This means that even if iptables-nft is used, a rule like
"-p icmp --icmp-type 1" will load the ip(6)tables modules.

Move them to xt_tcpdudp.ko instead to avoid this.

This will also allow to eventually add kconfig knobs to build kernels
that support iptables-nft but not iptables-legacy (old set/getsockopt
interface).

Signed-off-by: default avatarFlorian Westphal <fw@strlen.de>
parent bde7170a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment