dhclient seems to be broken, it's giving me the all zeroes broadcast
address instead of all ones:

        inet 192.168.91.35 netmask 0xfffffff0 broadcast 192.168.91.32

(should be broadcast 192.168.91.47)

Index: dhclient.c
===================================================================
RCS file: /usr/cvs/src/contrib/isc-dhcp/client/dhclient.c,v
retrieving revision 1.16
diff -u -r1.16 dhclient.c
--- dhclient.c  2000/07/20 19:51:37     1.16
+++ dhclient.c  2000/07/27 12:21:38
@@ -1972,7 +1972,7 @@
                                if (broadcast.len) {
                                    client_envadd (ip -> client,
                                                   prefix, "broadcast_address",
-                                                  "%s", piaddr (subnet));
+                                                  "%s", piaddr (broadcast));
                                }
                        }
                }

I think this needs fixing.

-- 
Ben Smithurst                 / [EMAIL PROTECTED] / PGP: 0x99392F7D
FreeBSD Documentation Project /


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to