Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Aug 2008 18:39:17 GMT
From:      Gleb Kurtsou <gk@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 146642 for review
Message-ID:  <200808041839.m74IdH3D028404@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=146642

Change 146642 by gk@gk_h1 on 2008/08/04 18:38:36

	disable some debugging printfs

Affected files ...

.. //depot/projects/soc2008/gk_l2filter/sys-netinet/ip_fw_pfil.c#8 edit

Differences ...

==== //depot/projects/soc2008/gk_l2filter/sys-netinet/ip_fw_pfil.c#8 (text+ko) ====

@@ -456,10 +456,12 @@
 	args.inp = inp;
 	error = ip_fw_chk_ptr(&args);
 	*m0 = args.m;
+#ifdef XXXGK
 	printf("IN  %6D -> %6D: %s\n", 
 			args.eh->ether_shost, ":", 
 			args.eh->ether_dhost, ":",
 			(error == IP_FW_PASS ? "passed" : "droped"));
+#endif
 
 	if (error == IP_FW_PASS)
 		return 0;
@@ -502,10 +504,12 @@
 	args.inp = inp;
 	error = ip_fw_chk_ptr(&args);
 	*m0 = args.m;
+#ifdef XXXGK
 	printf("OUT %6D -> %6D: %s\n", 
 			args.eh->ether_shost, ":", 
 			args.eh->ether_dhost, ":",
 			(error == IP_FW_PASS ? "passed" : "droped"));
+#endif
 
 	if (error == IP_FW_PASS)
 		return 0;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808041839.m74IdH3D028404>