[IPV4] ICMP: Invert default for invalid icmp msgs sysctl
authorDave Jones <davej@redhat.com>
Mon, 13 Feb 2006 23:36:21 +0000 (15:36 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 Feb 2006 23:36:21 +0000 (15:36 -0800)
isic can trigger these msgs to be spewed at a very high rate.
There's already a sysctl to turn them off. Given these messages
aren't useful for most people, this patch disables them by
default.

Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/icmp.c

index 4d1c40972a4bcb7b2d32e08b0c21fa79eb69c02c..e7bbff4340bb6c2d73c956b15c40a4b596296ecb 100644 (file)
@@ -192,7 +192,7 @@ int sysctl_icmp_echo_ignore_all;
 int sysctl_icmp_echo_ignore_broadcasts = 1;
 
 /* Control parameter - ignore bogus broadcast responses? */
-int sysctl_icmp_ignore_bogus_error_responses;
+int sysctl_icmp_ignore_bogus_error_responses = 1;
 
 /*
  *     Configurable global rate limit.