Make "set_ignore_non_default_routes" actually use its argument.

It takes a bool argument, but unconditionally sets the flag to "true".
Since no comment is left to offer an explanation, I'm assuming this was
an accident.

BUG=webrtc:7716
TBR=pthatcher@webrtc.org

Review-Url: https://codereview.webrtc.org/2974873002
Cr-Commit-Position: refs/heads/master@{#18959}
This commit is contained in:
deadbeef 2017-07-10 19:52:28 -07:00 committed by Commit Bot
parent 48956a195c
commit 05314c3252

View File

@ -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