aboutsummaryrefslogtreecommitdiff
path: root/sbin/dhclient
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2008-01-21 23:54:57 +0000
committerBrooks Davis <brooks@FreeBSD.org>2008-01-21 23:54:57 +0000
commit1547317e888a4ba6d48ed411dadefd7b5dd9e60c (patch)
tree77745807b771953f45a33cafd7334690b1dd3852 /sbin/dhclient
parent91e0bf6a77d8c15b682d5122ce1532e5bd31c917 (diff)
downloadsrc-1547317e888a4ba6d48ed411dadefd7b5dd9e60c.tar.gz
src-1547317e888a4ba6d48ed411dadefd7b5dd9e60c.zip
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>
Notes
Notes: svn path=/head/; revision=175554
Diffstat (limited to 'sbin/dhclient')
-rw-r--r--sbin/dhclient/dhclient-script2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/dhclient/dhclient-script b/sbin/dhclient/dhclient-script
index c6c9e8cc5657..1954e840dce5 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)