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
commit fbea318 upstream.

/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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
ummakynes authored and gregkh committed Apr 21, 2021
1 parent 3dae5a4 commit 97df84f
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 97df84f

Please sign in to comment.