summaryrefslogtreecommitdiffstats
path: root/src/channel_mcast.c
diff options
context:
space:
mode:
authorBrian Haley <bhaley@redhat.com>2019-03-19 15:56:55 -0400
committerPablo Neira Ayuso <pablo@netfilter.org>2019-03-20 08:22:28 +0100
commit8ae8c537cd7fd0f2fe18e30046d73c59d3a7fe85 (patch)
treef3de39f3d243b363ce2e22b23090512c8531f4d8 /src/channel_mcast.c
parentce06fb6069065c3d68475356c0728a5fa0a4ab74 (diff)
conntrack: Allow protocol number zero
/etc/protocols defines protocol zero as 'ip' for IPv4, and 'hopopt' for IPv6, which can be used with conntrack as '-p ip' or '-p hopopt'. However it's equivalent, '-p 0' is considered unsupported. Change the range check in findproto() to allow zero as well. Signed-off-by: Brian Haley <bhaley@redhat.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/channel_mcast.c')
0 files changed, 0 insertions, 0 deletions