netfilter: conntrack: do not print icmpv6 as unknown via /proc
commitfbea31808cupstream. /proc/net/nf_conntrack shows icmpv6 as unknown. Fixes:09ec82f5af("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>
This commit is contained in:
parent
394c81e36e
commit
783645e65b
1 changed files with 1 additions and 0 deletions
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue