Reland of Make "set_ignore_non_default_routes" actually use its argument. (patchset #1 id:1 of https://codereview.webrtc.org/2974193002/ )
Reason for revert: Wasn't actually the source of the memcheck issue, so relanding. Original issue's description: > Revert of Make "set_ignore_non_default_routes" actually use its argument. (patchset #1 id:1 of https://codereview.webrtc.org/2974873002/ ) > > Reason for revert: > Breaks Linux memcheck bot. > https://bugs.chromium.org/p/webrtc/issues/detail?id=7973 > > Original issue's description: > > 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} > > Committed:05314c3252> > TBR=pthatcher@webrtc.org,pthatcher@google.com,deadbeef@webrtc.org > # Skipping CQ checks because original CL landed less than 1 days ago. > NOPRESUBMIT=true > NOTREECHECKS=true > NOTRY=true > BUG=webrtc:7716 > > Review-Url: https://codereview.webrtc.org/2974193002 > Cr-Commit-Position: refs/heads/master@{#18964} > Committed:1e50748d47TBR=pthatcher@webrtc.org,pthatcher@google.com,sprang@webrtc.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=webrtc:7716 Review-Url: https://codereview.webrtc.org/2979803002 Cr-Commit-Position: refs/heads/master@{#18982}
This commit is contained in:
parent
13790bec6b
commit
be7e9c6047
@ -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