summaryrefslogtreecommitdiffstats
path: root/net/base/address_list_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/base/address_list_unittest.cc')
-rw-r--r--net/base/address_list_unittest.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/base/address_list_unittest.cc b/net/base/address_list_unittest.cc
index d8ab3c1..d440c15 100644
--- a/net/base/address_list_unittest.cc
+++ b/net/base/address_list_unittest.cc
@@ -19,7 +19,9 @@ void CreateAddressList(net::AddressList* addrlist, int port) {
#if defined(OS_WIN)
net::EnsureWinsockInit();
#endif
- int rv = SystemHostResolverProc("192.168.1.1", addrlist);
+ int rv = SystemHostResolverProc("192.168.1.1",
+ net::ADDRESS_FAMILY_UNSPECIFIED,
+ addrlist);
EXPECT_EQ(0, rv);
addrlist->SetPort(port);
}