dhcp: Clear ipaddresses from ipconfig before starting DHCP
authorJukka Rissanen <jukka.rissanen@linux.intel.com>
Thu, 1 Nov 2012 12:16:24 +0000 (14:16 +0200)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Fri, 2 Nov 2012 08:42:24 +0000 (10:42 +0200)
commit746026f897643111b4ca26bcad132de4e27d30fc
treed320ff3a58842d2f02a3d987d22b9f54dcbe738c
parent3a8c097be7d5ddcc654b9a6c42facb7010292d05
dhcp: Clear ipaddresses from ipconfig before starting DHCP

This is needed if manually configured addresses were used and later
DHCP was taken into use. If the manually configured IP information
(address, netmask and gateway) and the information given by DHCP is the
same, DHCP will not set the IP address to the interface.
src/dhcp.c