[Midnightbsd-cvs] src [8962] trunk/usr.bin/netstat/inet.c: toecore
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Tue Sep 27 12:35:26 EDT 2016
Revision: 8962
http://svnweb.midnightbsd.org/src/?rev=8962
Author: laffer1
Date: 2016-09-27 12:35:26 -0400 (Tue, 27 Sep 2016)
Log Message:
-----------
toecore
Modified Paths:
--------------
trunk/usr.bin/netstat/inet.c
Modified: trunk/usr.bin/netstat/inet.c
===================================================================
--- trunk/usr.bin/netstat/inet.c 2016-09-27 16:34:16 UTC (rev 8961)
+++ trunk/usr.bin/netstat/inet.c 2016-09-27 16:35:26 UTC (rev 8962)
@@ -461,7 +461,10 @@
#endif
vchar = ((inp->inp_vflag & INP_IPV4) != 0) ?
"4 " : " ";
- printf("%-3.3s%-2.2s ", name, vchar);
+ if (istcp && (tp->t_flags & TF_TOE) != 0)
+ printf("%-3.3s%-2.2s ", "toe", vchar);
+ else
+ printf("%-3.3s%-2.2s ", name, vchar);
if (Lflag) {
char buf1[15];
More information about the Midnightbsd-cvs
mailing list