o For dynamic rules log a parent rule number. Prefix a log message

by 'ipfw: '.

PR:		kern/115755
Submitted by:	sem
Approved by:	re (gnn)
MFC after:	4 weeks
This commit is contained in:
Maxim Konovalov 2007-09-29 15:01:41 +00:00
parent b917d7d326
commit eeb36ca3d5

View File

@ -1567,7 +1567,8 @@ install_state(struct ip_fw *rule, ipfw_insn_limit *cmd,
inet_ntoa_r(da, dst);
}
log(LOG_SECURITY | LOG_DEBUG,
"%s %s:%u -> %s:%u, %s\n",
"ipfw: %d %s %s:%u -> %s:%u, %s\n",
parent->rule->rulenum,
"drop session",
src, (args->f_id.src_port),
dst, (args->f_id.dst_port),