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

Unified Diff: net/base/net_util.cc

Issue 100703002: Added net::NetworkInterface::interface_index. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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.h ('k') | net/base/net_util_posix.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/net_util.cc
diff --git a/net/base/net_util.cc b/net/base/net_util.cc
index 4a4ff525f1328e7e12faa7dacda9583482f2ac6d..241d74859f12d85b96de86b16581748a6e13dfd0 100644
--- a/net/base/net_util.cc
+++ b/net/base/net_util.cc
@@ -2186,9 +2186,13 @@ NetworkInterface::NetworkInterface() : network_prefix(0) {
}
NetworkInterface::NetworkInterface(const std::string& name,
+ uint32 interface_index,
const IPAddressNumber& address,
size_t network_prefix)
- : name(name), address(address), network_prefix(network_prefix) {
+ : name(name),
+ interface_index(interface_index),
+ address(address),
+ network_prefix(network_prefix) {
}
NetworkInterface::~NetworkInterface() {
« no previous file with comments | « net/base/net_util.h ('k') | net/base/net_util_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698