DHCPClient: don't use AI_ADDRCONFIG

* The DHCP Client is the one configuring interfaces, so it makes no
sense to request address resolution for already configured interfaces
only.
* Fixes #12208
This commit is contained in:
Adrien Destugues 2015-07-29 22:52:25 +02:00
parent f9ab315e02
commit 2df7158917

View File

@ -427,7 +427,7 @@ DHCPClient::DHCPClient(BMessenger target, const char* device)
fResolverConfiguration(kMsgConfigureResolver),
fRunner(NULL),
fAssignedAddress(0),
fServer(AF_INET, NULL, DHCP_SERVER_PORT),
fServer(AF_INET, NULL, DHCP_SERVER_PORT, B_UNCONFIGURED_ADDRESS_FAMILIES),
fLeaseTime(0)
{
fTransactionID = (uint32)system_time() ^ rand();