[Midnightbsd-cvs] src: dhclient-script: During PREINIT, when giving the interface the

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Thu Apr 10 20:44:01 EDT 2008


Log Message:
-----------
During PREINIT, when giving the interface the address 0.0.0.0, do it as an
alias to avoid distrubing other addresses.

Modified Files:
--------------
    src/sbin/dhclient:
        dhclient-script (r1.2 -> r1.3)

-------------- next part --------------
Index: dhclient-script
===================================================================
RCS file: /home/cvs/src/sbin/dhclient/dhclient-script,v
retrieving revision 1.2
retrieving revision 1.3
diff -L sbin/dhclient/dhclient-script -L sbin/dhclient/dhclient-script -u -r1.2 -r1.3
--- sbin/dhclient/dhclient-script
+++ sbin/dhclient/dhclient-script
@@ -223,7 +223,7 @@
 
 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)


More information about the Midnightbsd-cvs mailing list