* [iproute PATCH] ss: Detect IPPROTO_ICMPV6 sockets
@ 2017-10-18 18:08 Phil Sutter
0 siblings, 0 replies; only message in thread
From: Phil Sutter @ 2017-10-18 18:08 UTC (permalink / raw)
To: Stephen Hemminger; +Cc: netdev
Prefix IPPROTO_ICMPV6 sockets with 'icmp6' instead of '???'.
Signed-off-by: Phil Sutter <phil@nwl.cc>
---
misc/ss.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/misc/ss.c b/misc/ss.c
index e37aba6022eb4..b5c6bbc05766e 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 "???";
--
2.13.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2017-10-18 18:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-18 18:08 [iproute PATCH] ss: Detect IPPROTO_ICMPV6 sockets Phil Sutter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox