OSDN Git Service

Fix netstat -e.
authorElliott Hughes <enh@google.com>
Wed, 9 Sep 2015 03:52:21 +0000 (22:52 -0500)
committerRob Landley <rob@landley.net>
Wed, 9 Sep 2015 03:52:21 +0000 (22:52 -0500)
commit0c276c21d205cfc3d8e45581d28f02431d2eef85
tree5f77bb4caa97ca6d139ef217f38fa5f612222cb8
parentb36123164057c555a1d0769ca26089cd6e002040
Fix netstat -e.

The -e flag should add "user" and "inode" columns to the TCP output.

Also truncate IP addresses in non-wide (no -W) mode.

This also removes a bit more of the duplication, though there's still
plenty left in this file!
toys/pending/netstat.c