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