FreeBSD Bugzilla – Attachment 106689 Details for
Bug 147352
[netinet] [patch] replace printf() with log() for "Limiting ..."
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 625 bytes, created by
Eugene Grosbein
on 2010-06-03 04:00:13 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Eugene Grosbein
Created:
2010-06-03 04:00:13 UTC
Size:
625 bytes
patch
obsolete
>--- sys/netinet/ip_icmp.c.orig 2010-06-03 09:26:47.000000000 +0700 >+++ sys/netinet/ip_icmp.c 2010-06-03 09:31:24.000000000 +0700 >@@ -42,6 +42,7 @@ > #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> >@@ -994,7 +995,7 @@ > * 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_WARNING, "Limiting %s from %d to %d packets/sec\n", > r->type, opps, V_icmplim); > } > return 0; /* okay to send packet */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 147352
: 106689