#if !defined(CONFIG_IP_DUMB_ROUTER)
if (sysctl_ip_forward) {
NETDEBUG(printk(KERN_INFO "icmp: ICMP redirect ignored. dest = %lX, "
"orig gw = %lX, \"new\" gw = %lX, device = %s.\n", ntohl(ip),
ntohl(source), ntohl(icmph->un.gateway), dev->name));
}
#else
/* redirect handling code */
CONFIG_IP_DUMB_ROUTER doesn't appear anywhere else in the kernel tree,
so the net effect is that redirects are ignored if IP forwarding is
disabled, BUT nothing happens if it's enabled. Is this fixed in
pre-2.0.31-x?