summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_fw.c
diff options
context:
space:
mode:
authoralex <alex@FreeBSD.org>1997-12-27 18:44:56 +0000
committeralex <alex@FreeBSD.org>1997-12-27 18:44:56 +0000
commit7352708c98fded209856ccf56b25734372c8c593 (patch)
treed64e5e2aa928b173a1a00e00b633189623468f30 /sys/netinet/ip_fw.c
parentddf3da84955259f875ffc03f9b8945fb9e36d3a5 (diff)
downloadFreeBSD-src-7352708c98fded209856ccf56b25734372c8c593.zip
FreeBSD-src-7352708c98fded209856ccf56b25734372c8c593.tar.gz
Bring back part of rev 1.44 which was commented out by rev 1.58.
Reviewed by: nate
Diffstat (limited to 'sys/netinet/ip_fw.c')
-rw-r--r--sys/netinet/ip_fw.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/sys/netinet/ip_fw.c b/sys/netinet/ip_fw.c
index dcc3bfe..abcdf42 100644
--- a/sys/netinet/ip_fw.c
+++ b/sys/netinet/ip_fw.c
@@ -12,7 +12,7 @@
*
* This software is provided ``AS IS'' without any warranties of any kind.
*
- * $Id: ip_fw.c,v 1.65 1997/11/05 20:17:19 joerg Exp $
+ * $Id: ip_fw.c,v 1.66 1997/12/19 03:36:15 julian Exp $
*/
/*
@@ -739,12 +739,13 @@ zero_entry(struct mbuf *m)
}
splx(s);
-#if 0
- if ( frwl )
- printf("ipfw: Entry %d cleared.\n", frwl->fw_number);
- else
- printf("ipfw: Accounting cleared.\n");
-#endif
+ if (fw_verbose) {
+ if (frwl)
+ printf("ipfw: Entry %d cleared.\n", frwl->fw_number);
+ else
+ printf("ipfw: Accounting cleared.\n");
+ }
+
return(0);
}
OpenPOWER on IntegriCloud