From 3c412f6260d88765f06232e7e9799f7bf68d7741 Mon Sep 17 00:00:00 2001 From: Brian Carlstrom Date: Wed, 29 May 2013 15:11:20 -0700 Subject: [PATCH] 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 5768599a4..05dc64002 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)); } }