summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorandre <andre@FreeBSD.org>2007-05-13 22:32:32 +0000
committerandre <andre@FreeBSD.org>2007-05-13 22:32:32 +0000
commit97ae8d65064f09cc003c1dfe3c026c12171f3974 (patch)
tree4161f5d62535e9fa09480a14b041f5618a531c42 /usr.bin
parent25d7c9695a21b0d5638e2880e26fbce735bd36f9 (diff)
downloadFreeBSD-src-97ae8d65064f09cc003c1dfe3c026c12171f3974.zip
FreeBSD-src-97ae8d65064f09cc003c1dfe3c026c12171f3974.tar.gz
'netstat -A -p tcp' doesn't print the Socket but the Tcpcb pointer in the
first column.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/netstat/inet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/netstat/inet.c b/usr.bin/netstat/inet.c
index 8324592..2d96cb6 100644
--- a/usr.bin/netstat/inet.c
+++ b/usr.bin/netstat/inet.c
@@ -217,7 +217,7 @@ protopr(u_long proto, /* for sysctl version we pass proto # */
"Current listen queue sizes (qlen/incqlen/maxqlen)");
putchar('\n');
if (Aflag)
- printf("%-8.8s ", "Socket");
+ printf("%-8.8s ", "Tcpcb");
if (Lflag)
printf("%-5.5s %-14.14s %-22.22s\n",
"Proto", "Listen", "Local Address");
OpenPOWER on IntegriCloud