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:
parent
48956a195c
commit
05314c3252
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user