Skip to content

Commit

Permalink
Fixed reversed output in netstat Recv-Q Send-Q columns
Browse files Browse the repository at this point in the history
Change-Id: I2bc7ac6c886808910212432497f05e34596f5e85
  • Loading branch information
bdcgoogle authored and tpruvot committed Jun 8, 2013
1 parent de5ae87 commit 5f1aa1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions toolbox/netstat.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
}
Expand Down Expand Up @@ -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));
}
}
Expand Down

0 comments on commit 5f1aa1e

Please sign in to comment.