diff options
author | Phil Sutter <phil@nwl.cc> | 2017-10-18 20:08:26 +0200 |
---|---|---|
committer | Stephen Hemminger <sthemmin@microsoft.com> | 2017-10-21 15:00:16 +0200 |
commit | 572e8936130440d0e180cf62ed55fface2ae8719 (patch) | |
tree | b516f1e38f4f146bc5152f3e26e4c2d1bd211538 | |
parent | 1267c0b924de0297510efd48f8f849af774be369 (diff) | |
download | platform_external_iproute2-572e8936130440d0e180cf62ed55fface2ae8719.tar.gz platform_external_iproute2-572e8936130440d0e180cf62ed55fface2ae8719.tar.bz2 platform_external_iproute2-572e8936130440d0e180cf62ed55fface2ae8719.zip |
ss: Detect IPPROTO_ICMPV6 sockets
Prefix IPPROTO_ICMPV6 sockets with 'icmp6' instead of '???'.
Signed-off-by: Phil Sutter <phil@nwl.cc>
-rw-r--r-- | misc/ss.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -784,6 +784,8 @@ static const char *proto_name(int protocol) return "sctp"; case IPPROTO_DCCP: return "dccp"; + case IPPROTO_ICMPV6: + return "icmp6"; } return "???"; |