I looked at it, and it's 1 line to make the kernel properly deduce the
broadcast address from the netmask, it doens't make sense to not do this.
Here's the diff, I understand that there are times that the broadcast is
needed to not match the netmask, but aren't these not-normal?

*** devinet.c   Fri May 12 11:47:24 2000
--- devinet.c.new       Fri May 12 11:46:45 2000
***************
*** 608,613 ****
--- 608,614 ----
                                inet_del_ifa(in_dev, ifap, 0);
                                ifa->ifa_mask = sin->sin_addr.s_addr;
                                ifa->ifa_prefixlen =
inet_mask_len(ifa->ifa_mask);
+       ifa->ifa_broadcast = (~(ifa->ifa_mask) | ifa->ifa_address);
                                inet_set_ifa(dev, ifa);
                        }
                        break;

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to