From 2df71589172c3e758c8e0d8ef12d30583d110b18 Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Wed, 29 Jul 2015 22:52:25 +0200 Subject: [PATCH] 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 --- src/servers/net/DHCPClient.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/servers/net/DHCPClient.cpp b/src/servers/net/DHCPClient.cpp index 35c5887a68..d5ffd0e04e 100644 --- a/src/servers/net/DHCPClient.cpp +++ b/src/servers/net/DHCPClient.cpp @@ -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();