From: Phil Sutter Date: Wed, 18 Oct 2017 18:08:26 +0000 (+0200) Subject: ss: Detect IPPROTO_ICMPV6 sockets X-Git-Tag: v4.14.0~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=572e8936130440d0e180cf62ed55fface2ae8719;p=thirdparty%2Fiproute2.git ss: Detect IPPROTO_ICMPV6 sockets Prefix IPPROTO_ICMPV6 sockets with 'icmp6' instead of '???'. Signed-off-by: Phil Sutter --- diff --git a/misc/ss.c b/misc/ss.c index e37aba602..b5c6bbc05 100644 --- a/misc/ss.c +++ b/misc/ss.c @@ -784,6 +784,8 @@ static const char *proto_name(int protocol) return "sctp"; case IPPROTO_DCCP: return "dccp"; + case IPPROTO_ICMPV6: + return "icmp6"; } return "???";