Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(564)

Unified Diff: net/base/net_util_win.cc

Issue 231973003: Adding network interface type param to net::NetworkInterface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/base/net_util_posix.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/net_util_win.cc
diff --git a/net/base/net_util_win.cc b/net/base/net_util_win.cc
index c4cedee472079ae7b418f376fb016a175c185e3c..16cd98e06c7f36619f1cdd41e26b2f8d1c76e036 100644
--- a/net/base/net_util_win.cc
+++ b/net/base/net_util_win.cc
@@ -173,14 +173,16 @@ bool GetNetworkList(NetworkInterfaceList* networks, int policy) {
ipv6_valid_lifetime = address->ValidLifetime;
ipv6_address.reset(new NetworkInterface(adapter->AdapterName,
base::SysWideToNativeMB(adapter->FriendlyName),
- index, endpoint.address(), net_prefix));
+ index, NETWORK_INTERFACE_UNKNOWN,
+ endpoint.address(), net_prefix));
continue;
}
}
networks->push_back(
NetworkInterface(adapter->AdapterName,
base::SysWideToNativeMB(adapter->FriendlyName),
- index, endpoint.address(), net_prefix));
+ index, NETWORK_INTERFACE_UNKNOWN,
+ endpoint.address(), net_prefix));
}
}
}
« no previous file with comments | « net/base/net_util_posix.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698