diff options
author | brooks <brooks@FreeBSD.org> | 2008-01-21 23:54:57 +0000 |
---|---|---|
committer | brooks <brooks@FreeBSD.org> | 2008-01-21 23:54:57 +0000 |
commit | e3cf5b7e24632cf68e99e247c6ba1f904cebc1a9 (patch) | |
tree | 77745807b771953f45a33cafd7334690b1dd3852 /sbin/dhclient | |
parent | c52b8566b4a8c563a731bfb9221f030adba7a41d (diff) | |
download | FreeBSD-src-e3cf5b7e24632cf68e99e247c6ba1f904cebc1a9.zip FreeBSD-src-e3cf5b7e24632cf68e99e247c6ba1f904cebc1a9.tar.gz |
During PREINIT, when giving the interface the address 0.0.0.0, do it as an
alias to avoid distrubing other addresses.
PR: bin/119255
Submitted by: Jaakko Heinonen <jh at saunalahti dot fi>
Diffstat (limited to 'sbin/dhclient')
-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 c6c9e8c..1954e84 100644 --- a/sbin/dhclient/dhclient-script +++ b/sbin/dhclient/dhclient-script @@ -284,7 +284,7 @@ MEDIUM) PREINIT) delete_old_alias - $IFCONFIG $interface inet 0.0.0.0 netmask 0.0.0.0 broadcast 255.255.255.255 up + $IFCONFIG $interface inet alias 0.0.0.0 netmask 0.0.0.0 broadcast 255.255.255.255 up ;; ARPCHECK|ARPSEND) |