svn commit: r218003 - projects/ofed/head/usr.bin/netstat

Jeff Roberson jeff at FreeBSD.org
Fri Jan 28 02:11:42 UTC 2011


Author: jeff
Date: Fri Jan 28 02:11:41 2011
New Revision: 218003
URL: http://svn.freebsd.org/changeset/base/218003

Log:
   - Remove some debugging output I accidentally committed.
  
  Sponsored by:	Isilon Systems, iX Systems, and Panasas.

Modified:
  projects/ofed/head/usr.bin/netstat/inet.c

Modified: projects/ofed/head/usr.bin/netstat/inet.c
==============================================================================
--- projects/ofed/head/usr.bin/netstat/inet.c	Fri Jan 28 02:11:15 2011	(r218002)
+++ projects/ofed/head/usr.bin/netstat/inet.c	Fri Jan 28 02:11:41 2011	(r218003)
@@ -363,18 +363,12 @@ protopr(u_long off, const char *name, in
 		}
 
 		/* Ignore sockets for protocols other than the desired one. */
-		if (so->xso_protocol != proto) {
-			printf("%s proto %d, proto %d\n",
-			    name,  so->xso_protocol, proto);
+		if (so->xso_protocol != proto)
 			continue;
-		}
 
 		/* Ignore PCBs which were freed during copyout. */
-		if (inp->inp_gencnt > oxig->xig_gen) {
-			printf("%s gencnt %jd, xig gen %jd\n",
-			    name, inp->inp_gencnt, oxig->xig_gen);
+		if (inp->inp_gencnt > oxig->xig_gen)
 			continue;
-		}
 
 		if ((af1 == AF_INET && (inp->inp_vflag & INP_IPV4) == 0)
 #ifdef INET6


More information about the svn-src-projects mailing list