From 5f1aa1e02e8d4faf17cf113e116f7bcf0bc2cb22 Mon Sep 17 00:00:00 2001 From: Brian Carlstrom Date: Wed, 29 May 2013 15:11:20 -0700 Subject: Fixed reversed output in netstat Recv-Q Send-Q columns Change-Id: I2bc7ac6c886808910212432497f05e34596f5e85 --- toolbox/netstat.c | 4 ++-- 1 file 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)); } } -- cgit v1.1