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

Unified Diff: chrome/browser/local_discovery/privet_traffic_detector.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 | « no previous file | net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/local_discovery/privet_traffic_detector.cc
diff --git a/chrome/browser/local_discovery/privet_traffic_detector.cc b/chrome/browser/local_discovery/privet_traffic_detector.cc
index e95c74f6ad31ed917fcd55e52dcf13fef3f2bedb..602e7f11cdcf21ff9a99c470c671a549cf7973e6 100644
--- a/chrome/browser/local_discovery/privet_traffic_detector.cc
+++ b/chrome/browser/local_discovery/privet_traffic_detector.cc
@@ -39,7 +39,7 @@ void GetNetworkListOnFileThread(
net::IPAddressNumber localhost_prefix(4, 0);
localhost_prefix[0] = 127;
- ip4_networks.push_back(net::NetworkInterface("lo", localhost_prefix, 8));
+ ip4_networks.push_back(net::NetworkInterface("lo", 0, localhost_prefix, 8));
content::BrowserThread::PostTask(content::BrowserThread::IO, FROM_HERE,
base::Bind(callback, ip4_networks));
}
« no previous file with comments | « no previous file | net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698