Fixed reversed output in netstat Recv-Q Send-Q columns

Change-Id: I2bc7ac6c886808910212432497f05e34596f5e85
This commit is contained in:
Brian Carlstrom 2013-05-29 15:11:20 -07:00
parent 51a2e4d5d4
commit 3c412f6260
1 changed files with 2 additions and 2 deletions

View File

@ -108,7 +108,7 @@ static void ipv4(const char *filename, const char *label) {
addr2str(AF_INET, &raddr, rport, rip);
printf("%4s %6d %6d %-22s %-22s %s\n",
label, txq, rxq, lip, rip,
label, rxq, txq, lip, rip,
state2str(state));
}
}
@ -136,7 +136,7 @@ static void ipv6(const char *filename, const char *label) {
addr2str(AF_INET6, &raddr6, rport, rip);
printf("%4s %6d %6d %-22s %-22s %s\n",
label, txq, rxq, lip, rip,
label, rxq, txq, lip, rip,
state2str(state));
}
}