PERFORCE change 146642 for review
Gleb Kurtsou
gk at FreeBSD.org
Mon Aug 4 18:39:17 UTC 2008
http://perforce.freebsd.org/chv.cgi?CH=146642
Change 146642 by gk at 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;
More information about the p4-projects
mailing list