diff options
| author | Emīls <emils@mullvad.net> | 2018-06-26 15:42:12 +0100 |
|---|---|---|
| committer | Emīls <emils@mullvad.net> | 2018-06-27 11:42:42 +0100 |
| commit | bb9445ce1f53d0a04006847f7f58d7ea0441b90f (patch) | |
| tree | a92d48c7199e15017ae87ae6cd86d727ab51031d /windows | |
| parent | 6e8c2ff7a8618426faed87dc6d753e96fe682f41 (diff) | |
| download | mullvadvpn-bb9445ce1f53d0a04006847f7f58d7ea0441b90f.tar.xz mullvadvpn-bb9445ce1f53d0a04006847f7f58d7ea0441b90f.zip | |
Simplify metric setting by altering a single interface
Diffstat (limited to 'windows')
| -rw-r--r-- | windows/winroute/src/winroute/NetworkInterfaces.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/windows/winroute/src/winroute/NetworkInterfaces.cpp b/windows/winroute/src/winroute/NetworkInterfaces.cpp index 72ff982ae0..4b2bc9319f 100644 --- a/windows/winroute/src/winroute/NetworkInterfaces.cpp +++ b/windows/winroute/src/winroute/NetworkInterfaces.cpp @@ -145,10 +145,6 @@ bool NetworkInterfaces::SetTopMetricForInterfaceWithLuid(NET_LUID targetIfaceId) << success; throw std::runtime_error(ss.str()); } - if (!HasHighestMetric(targetIface)) - { - EnsureIfaceMetricIsHighest(targetIface); - } return true; } |
