summaryrefslogtreecommitdiffstats
path: root/sys/netinet
diff options
context:
space:
mode:
authorae <ae@FreeBSD.org>2011-06-01 12:05:35 +0000
committerae <ae@FreeBSD.org>2011-06-01 12:05:35 +0000
commitaf7c3816cc03deadc2369f8362945f0005f2cdee (patch)
tree61e8c7c50927f23666f9fe18a43ea90437249162 /sys/netinet
parent6f7651b2b3ffe890097b1cb4fb10dd9e7b337df0 (diff)
downloadFreeBSD-src-af7c3816cc03deadc2369f8362945f0005f2cdee.zip
FreeBSD-src-af7c3816cc03deadc2369f8362945f0005f2cdee.tar.gz
Hide useless warning under debug macro.
PR: kern/69963 MFC after: 1 week
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/ipfw/ip_fw_dynamic.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/ipfw/ip_fw_dynamic.c b/sys/netinet/ipfw/ip_fw_dynamic.c
index 7f0feb4..0bc4cc1 100644
--- a/sys/netinet/ipfw/ip_fw_dynamic.c
+++ b/sys/netinet/ipfw/ip_fw_dynamic.c
@@ -753,11 +753,12 @@ ipfw_install_state(struct ip_fw *rule, ipfw_insn_limit *cmd,
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);
}
OpenPOWER on IntegriCloud