summaryrefslogtreecommitdiffstats
path: root/toolbox/netstat.c
diff options
context:
space:
mode:
authorBrian Carlstrom <bdc@google.com>2013-05-29 15:11:20 -0700
committerBrian Carlstrom <bdc@google.com>2013-06-03 19:24:44 -0700
commit3c412f6260d88765f06232e7e9799f7bf68d7741 (patch)
tree53eda7c3d63fd74c5ba842978887d24180f83d35 /toolbox/netstat.c
parent51a2e4d5d44a6f788da207dff301356e16b4e283 (diff)
downloadsystem_core-3c412f6260d88765f06232e7e9799f7bf68d7741.zip
system_core-3c412f6260d88765f06232e7e9799f7bf68d7741.tar.gz
system_core-3c412f6260d88765f06232e7e9799f7bf68d7741.tar.bz2
Fixed reversed output in netstat Recv-Q Send-Q columns
Change-Id: I2bc7ac6c886808910212432497f05e34596f5e85
Diffstat (limited to 'toolbox/netstat.c')
-rw-r--r--toolbox/netstat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolbox/netstat.c b/toolbox/netstat.c
index 5768599..05dc640 100644
--- a/toolbox/netstat.c
+++ b/toolbox/netstat.c
@@ -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));
}
}