Skip to content

Commit

Permalink
netfilter: conntrack: do not print icmpv6 as unknown via /proc
Browse files Browse the repository at this point in the history
/proc/net/nf_conntrack shows icmpv6 as unknown.

Fixes: 09ec82f ("netfilter: conntrack: remove protocol name from l4proto struct")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
  • Loading branch information
ummakynes committed Mar 30, 2021
1 parent 0e07e25 commit fbea318
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions net/netfilter/nf_conntrack_standalone.c
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,7 @@ static const char* l4proto_name(u16 proto)
case IPPROTO_GRE: return "gre";
case IPPROTO_SCTP: return "sctp";
case IPPROTO_UDPLITE: return "udplite";
case IPPROTO_ICMPV6: return "icmpv6";
}

return "unknown";
Expand Down

0 comments on commit fbea318

Please sign in to comment.