提交 fbea3180 编写于 作者: P 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: NPablo Neira Ayuso <pablo@netfilter.org>
上级 0e07e25b
......@@ -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";
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册