diff options
author | glebius <glebius@FreeBSD.org> | 2011-12-13 11:54:51 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2011-12-13 11:54:51 +0000 |
commit | b87df3a8d39d015de9da414c9d47a28b51a5e163 (patch) | |
tree | 120ee01c05a9914eb5199fc03aaa988e19c2cf78 /sbin | |
parent | bb0222f95e3e892736f522401b02d2c2ba049fe7 (diff) | |
download | FreeBSD-src-b87df3a8d39d015de9da414c9d47a28b51a5e163.zip FreeBSD-src-b87df3a8d39d015de9da414c9d47a28b51a5e163.tar.gz |
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
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/dhclient/dhclient-script | 2 |
1 files changed, 1 insertions, 1 deletions
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) |