mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
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
This commit is contained in:
parent
88c707c819
commit
1c6eeddad9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=228463
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue