summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_icmp.c
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2002-12-30 18:45:31 +0000
committersam <sam@FreeBSD.org>2002-12-30 18:45:31 +0000
commita80756c0bef0b57b90df1160361f15430812efc4 (patch)
tree0cf6a58654b1194d3486980cadf98034df8c82e7 /sys/netinet/ip_icmp.c
parent565badda7fa072cb92b6ed6dd3e8c2bccd5b6d84 (diff)
downloadFreeBSD-src-a80756c0bef0b57b90df1160361f15430812efc4.zip
FreeBSD-src-a80756c0bef0b57b90df1160361f15430812efc4.tar.gz
correct style bogons
Diffstat (limited to 'sys/netinet/ip_icmp.c')
-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 0e86619..a15ece2 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
OpenPOWER on IntegriCloud