Hide useless warning under debug macro.

PR:		kern/69963
MFC after:	1 week
This commit is contained in:
Andrey V. Elsukov 2011-06-01 12:05:35 +00:00
parent d38ea3bc9e
commit e35a05d3e7

View File

@ -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);
}