From: Pablo Neira Ayuso Date: Tue, 30 Mar 2021 23:04:45 +0000 (+0200) Subject: netfilter: conntrack: do not print icmpv6 as unknown via /proc X-Git-Tag: accepted/tizen/unified/20230118.172025~7473^2~21^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fbea31808ca124dd73ff6bb1e67c9af4607c3e32;p=platform%2Fkernel%2Flinux-rpi.git netfilter: conntrack: do not print icmpv6 as unknown via /proc /proc/net/nf_conntrack shows icmpv6 as unknown. Fixes: 09ec82f5af99 ("netfilter: conntrack: remove protocol name from l4proto struct") Signed-off-by: Pablo Neira Ayuso --- diff --git a/net/netfilter/nf_conntrack_standalone.c b/net/netfilter/nf_conntrack_standalone.c index 0ee702d..c6c0cb4 100644 --- a/net/netfilter/nf_conntrack_standalone.c +++ b/net/netfilter/nf_conntrack_standalone.c @@ -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";