diff options
author | Andre Oppermann <andre@FreeBSD.org> | 2010-08-14 21:04:27 +0000 |
---|---|---|
committer | Andre Oppermann <andre@FreeBSD.org> | 2010-08-14 21:04:27 +0000 |
commit | 40fe9eff47f57ec4367be5cb38e75761087dd6da (patch) | |
tree | 32d568e6582aa87ef223fea5fa2acac780e10c41 /sys/netinet/ip_icmp.c | |
parent | bee4e5afa9c69f38140156bbad709ea4469a5559 (diff) | |
download | src-test2-40fe9eff47f57ec4367be5cb38e75761087dd6da.tar.gz src-test2-40fe9eff47f57ec4367be5cb38e75761087dd6da.zip |
Notes
Diffstat (limited to 'sys/netinet/ip_icmp.c')
-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 8dc08d9336c2..480a2c80db55 100644 --- a/sys/netinet/ip_icmp.c +++ b/sys/netinet/ip_icmp.c @@ -42,6 +42,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> @@ -975,7 +976,7 @@ badport_bandlim(int which) * the previous behaviour at the expense of added complexity. */ if (V_icmplim_output && opps > V_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, V_icmplim); } return 0; /* okay to send packet */ |