ss: Detect IPPROTO_ICMPV6 sockets
Subsystems (2)
PATCH 1/1 ss: Detect IPPROTO_ICMPV6 sockets
Prefix IPPROTO_ICMPV6 sockets with 'icmp6' instead of '???'.
Signed-off-by Phil Sutter <[email protected]>
--- misc/ss.c | 2 ++ 1 file changed, 2 insertions(+)
misc/ss.c +2 -0
@@ -784,6 +784,8 @@ static const char *proto_name(int protocol)return "sctp" ;case IPPROTO_DCCP :return "dccp" ; +case IPPROTO_ICMPV6 : +return "icmp6" ; }return "???" ;
Signature · 1 line
2.13.1