Restore the (state) and \n printout when not using -T.
Pointed out by: brucec@ MFC after: 3 weeks
This commit is contained in:
parent
9a68cbd33d
commit
b205d03d78
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=215724
@ -428,13 +428,14 @@ protopr(u_long off, const char *name, int af1, int proto)
|
||||
"2msl", "delack", "rcvtime",
|
||||
"(state)");
|
||||
}
|
||||
if (!xflag && !Tflag)
|
||||
if (!xflag && !Tflag) {
|
||||
printf((Aflag && !Wflag) ?
|
||||
"%-5.5s %-6.6s %-6.6s %-18.18s %-18.18s" :
|
||||
"%-5.5s %-6.6s %-6.6s %-22.22s %-22.22s",
|
||||
"Proto", "Recv-Q", "Send-Q",
|
||||
"Local Address", "Foreign Address");
|
||||
|
||||
printf("(state)\n");
|
||||
}
|
||||
first = 0;
|
||||
}
|
||||
if (Lflag && so->so_qlimit == 0)
|
||||
|
Loading…
Reference in New Issue
Block a user