commit | be7e4d20b9e261292ec3d3701cdf74273f25cfcc | [log] [tgz] |
---|---|---|
author | Phil Sutter <phil@nwl.cc> | Fri Dec 02 11:39:48 2016 +0100 |
committer | Stephen Hemminger <stephen@networkplumber.org> | Fri Dec 02 14:07:46 2016 -0800 |
tree | 43539883d4a058deaf586292b162258118323487 | |
parent | 451999970816ae1042edbe05d4b34131669a4c83 [diff] |
ss: Use sockstat->type in all socket types Unix sockets used that field already to hold info about the socket type. By replicating this approach in all other socket types, we can get rid of protocol parameter in inet_stats_print() and have sock_state_print() figure things out by itself. Signed-off-by: Phil Sutter <phil@nwl.cc>