svn commit: r222559 - head/sys/netinet/ipfw
Andrey V. Elsukov
ae at FreeBSD.org
Wed Jun 1 12:05:35 UTC 2011
Author: ae
Date: Wed Jun 1 12:05:35 2011
New Revision: 222559
URL: http://svn.freebsd.org/changeset/base/222559
Log:
Hide useless warning under debug macro.
PR: kern/69963
MFC after: 1 week
Modified:
head/sys/netinet/ipfw/ip_fw_dynamic.c
Modified: head/sys/netinet/ipfw/ip_fw_dynamic.c
==============================================================================
--- head/sys/netinet/ipfw/ip_fw_dynamic.c Wed Jun 1 10:23:03 2011 (r222558)
+++ head/sys/netinet/ipfw/ip_fw_dynamic.c Wed Jun 1 12:05:35 2011 (r222559)
@@ -753,11 +753,12 @@ ipfw_install_state(struct ip_fw *rule, i
q = lookup_dyn_rule_locked(&args->f_id, NULL, NULL);
if (q != NULL) { /* should never occur */
+ DEB(
if (last_log != time_uptime) {
last_log = time_uptime;
printf("ipfw: %s: entry already present, done\n",
__func__);
- }
+ })
IPFW_DYN_UNLOCK();
return (0);
}
More information about the svn-src-head
mailing list