Use syslog for messages about dropped sessions, do not flood a console.

Suggested by:	Eugene Grosbein <eugen@kuzbass.ru>
Approved by:	luigi
MFC after:	1 week
This commit is contained in:
Maxim Konovalov 2002-10-23 10:05:19 +00:00
parent 02edf2208d
commit 6b6874b20c

View File

@ -1026,7 +1026,7 @@ install_state(struct ip_fw *rule, ipfw_insn_limit *cmd,
if (parent->count >= cmd->conn_limit) {
if (fw_verbose && last_log != time_second) {
last_log = time_second;
printf(
log(LOG_SECURITY | LOG_INFO,
"drop session, too many entries\n");
}
return 1;