Index: net/base/net_util_posix.cc |
diff --git a/net/base/net_util_posix.cc b/net/base/net_util_posix.cc |
index 080f9b0e55a42e8725761f75cf3584d059d062ec..95e3bbc982ac3c795b12924224aca2ab69d3bd7d 100644 |
--- a/net/base/net_util_posix.cc |
+++ b/net/base/net_util_posix.cc |
@@ -108,7 +108,8 @@ bool GetNetworkList(NetworkInterfaceList* networks, int policy) { |
CHECK(base::StringToUint(network_tokenizer.token(), &index)); |
networks->push_back( |
- NetworkInterface(name, name, index, address, network_prefix)); |
+ NetworkInterface(name, name, index, NETWORK_INTERFACE_UNKNOWN, |
+ address, network_prefix)); |
} |
return true; |
#else |
@@ -208,7 +209,7 @@ bool GetNetworkList(NetworkInterfaceList* networks, int policy) { |
} |
} |
network_info.interface = NetworkInterface( |
- name, name, if_nametoindex(name.c_str()), |
+ name, name, if_nametoindex(name.c_str()), NETWORK_INTERFACE_UNKNOWN, |
address.address(), net_mask); |
network_infos.push_back(NetworkInterfaceInfo(network_info)); |