'netstat -A -p tcp' doesn't print the Socket but the Tcpcb pointer in the

first column.
This commit is contained in:
Andre Oppermann 2007-05-13 22:32:32 +00:00
parent ec9c755352
commit 612d21296c

View File

@ -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");