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

Unified Diff: webrtc/rtc_base/network.h

Issue 2974873002: Make "set_ignore_non_default_routes" actually use its argument. (Closed)
Patch Set: Created 3 years, 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/rtc_base/network.h
diff --git a/webrtc/rtc_base/network.h b/webrtc/rtc_base/network.h
index 6f820bb4de98d1b05d90ee7e9fe36fdb35ac1783..4cbbfefd42dc43428d7fc97b4801faee7c97750d 100644
--- a/webrtc/rtc_base/network.h
+++ b/webrtc/rtc_base/network.h
@@ -230,8 +230,9 @@ class BasicNetworkManager : public NetworkManagerBase,
#if defined(WEBRTC_LINUX)
// Sets the flag for ignoring non-default routes.
+ // Defaults to false.
void set_ignore_non_default_routes(bool value) {
- ignore_non_default_routes_ = true;
+ ignore_non_default_routes_ = value;
}
#endif
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698