summaryrefslogtreecommitdiffstats
path: root/sbin/dhclient/dhclient-script
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2008-01-21 23:54:57 +0000
committerbrooks <brooks@FreeBSD.org>2008-01-21 23:54:57 +0000
commite3cf5b7e24632cf68e99e247c6ba1f904cebc1a9 (patch)
tree77745807b771953f45a33cafd7334690b1dd3852 /sbin/dhclient/dhclient-script
parentc52b8566b4a8c563a731bfb9221f030adba7a41d (diff)
downloadFreeBSD-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/dhclient-script')
-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 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)
OpenPOWER on IntegriCloud