Commit fbea3180 authored by Pablo Neira Ayuso's avatar Pablo Neira Ayuso

netfilter: conntrack: do not print icmpv6 as unknown via /proc

/proc/net/nf_conntrack shows icmpv6 as unknown.

Fixes: 09ec82f5 ("netfilter: conntrack: remove protocol name from l4proto struct")
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
parent 0e07e25b
...@@ -266,6 +266,7 @@ static const char* l4proto_name(u16 proto) ...@@ -266,6 +266,7 @@ static const char* l4proto_name(u16 proto)
case IPPROTO_GRE: return "gre"; case IPPROTO_GRE: return "gre";
case IPPROTO_SCTP: return "sctp"; case IPPROTO_SCTP: return "sctp";
case IPPROTO_UDPLITE: return "udplite"; case IPPROTO_UDPLITE: return "udplite";
case IPPROTO_ICMPV6: return "icmpv6";
} }
return "unknown"; return "unknown";
......
Markdown is supported
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