diff options
| author | Andre Oppermann <andre@FreeBSD.org> | 2010-08-21 11:02:18 +0000 |
|---|---|---|
| committer | Andre Oppermann <andre@FreeBSD.org> | 2010-08-21 11:02:18 +0000 |
| commit | d795356ac84ebf2f8e9dfd281bcd7311a198c1ed (patch) | |
| tree | 10151513d904902ff5eabaec23eff6d3a42b5bfc /sys/netinet | |
| parent | 9ae498b4800ce7b65f082a16f5a1c7bac09ec629 (diff) | |
Notes
Diffstat (limited to 'sys/netinet')
| -rw-r--r-- | sys/netinet/ip_icmp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/ip_icmp.c b/sys/netinet/ip_icmp.c index 196c9b7d4558..44188848401f 100644 --- a/sys/netinet/ip_icmp.c +++ b/sys/netinet/ip_icmp.c @@ -43,6 +43,7 @@ __FBSDID("$FreeBSD$"); #include <sys/time.h> #include <sys/kernel.h> #include <sys/sysctl.h> +#include <sys/syslog.h> #include <net/if.h> #include <net/if_types.h> @@ -920,7 +921,7 @@ badport_bandlim(int which) * the previous behaviour at the expense of added complexity. */ if (icmplim_output && opps > icmplim) - printf("Limiting %s from %d to %d packets/sec\n", + log(LOG_NOTICE, "Limiting %s from %d to %d packets/sec\n", r->type, opps, icmplim); } return 0; /* okay to send packet */ |
