| Index: net/base/net_util_posix.cc
|
| diff --git a/net/base/net_util_posix.cc b/net/base/net_util_posix.cc
|
| index fbc3fcc8f6eac39f64150c69a3cec11d8eb43f51..7f88ef666ab1c0f448859d71a892107621e06191 100644
|
| --- a/net/base/net_util_posix.cc
|
| +++ b/net/base/net_util_posix.cc
|
| @@ -140,9 +140,13 @@ bool GetNetworkList(NetworkInterfaceList* networks, int policy) {
|
| CHECK(base::StringToUint(network_tokenizer.token(), &index));
|
|
|
| networks->push_back(
|
| - NetworkInterface(name, name, index,
|
| + NetworkInterface(name,
|
| + name,
|
| + index,
|
| NetworkChangeNotifier::CONNECTION_UNKNOWN,
|
| - address, network_prefix));
|
| + address,
|
| + network_prefix,
|
| + IP_ADDRESS_ATTRIBUTE_NONE));
|
| }
|
| return true;
|
| #else
|
| @@ -247,9 +251,13 @@ bool GetNetworkList(NetworkInterfaceList* networks, int policy) {
|
| net_mask = MaskPrefixLength(netmask.address());
|
| }
|
| }
|
| - network_info.interface = NetworkInterface(
|
| - name, name, if_nametoindex(name.c_str()),
|
| - connection_type, address.address(), net_mask);
|
| + network_info.interface = NetworkInterface(name,
|
| + name,
|
| + if_nametoindex(name.c_str()),
|
| + connection_type,
|
| + address.address(),
|
| + net_mask,
|
| + IP_ADDRESS_ATTRIBUTE_NONE);
|
|
|
| network_infos.push_back(NetworkInterfaceInfo(network_info));
|
| }
|
|
|