From b87df3a8d39d015de9da414c9d47a28b51a5e163 Mon Sep 17 00:00:00 2001 From: glebius Date: Tue, 13 Dec 2011 11:54:51 +0000 Subject: dhclient-script relied on incorrect behavior of SIOCAIFADDR ioctl, that changed 0.0.0.0/0.0.0.0 prefix to 0.0.0.0/255.0.0.0. In the r228313 this behavior was fixed, and since dhclient-script got broken. I'm not sure this fix is a perfect one, it just changes dhclient-script to set 0.0.0.0/255.0.0.0 explicitly. PR: kern/163206 --- sbin/dhclient/dhclient-script | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sbin/dhclient/dhclient-script') diff --git a/sbin/dhclient/dhclient-script b/sbin/dhclient/dhclient-script index b066400..3439fd9 100644 --- a/sbin/dhclient/dhclient-script +++ b/sbin/dhclient/dhclient-script @@ -320,7 +320,7 @@ MEDIUM) PREINIT) delete_old_alias - $IFCONFIG $interface inet alias 0.0.0.0 netmask 0.0.0.0 broadcast 255.255.255.255 up + $IFCONFIG $interface inet alias 0.0.0.0 netmask 255.0.0.0 broadcast 255.255.255.255 up ;; ARPCHECK|ARPSEND) -- cgit v1.1