summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/netinet/ip_icmp.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/netinet/ip_icmp.c b/sys/netinet/ip_icmp.c
index 0e8661938e4f..a15ece2b83ba 100644
--- a/sys/netinet/ip_icmp.c
+++ b/sys/netinet/ip_icmp.c
@@ -862,11 +862,9 @@ badport_bandlim(int which)
* rate-limited traffic print the message. This preserves
* the previous behaviour at the expense of added complexity.
*/
- if (icmplim_output && opps > icmplim) {
+ if (icmplim_output && opps > icmplim)
printf("Limiting %s from %d to %d packets/sec\n",
- r->type, opps, icmplim
- );
- }
+ r->type, opps, icmplim);
}
return 0; /* okay to send packet */
#undef N