Skip to content

Commit

Permalink
VPN-6517: Fix contention between LAN bypass and DNS killswitch on Win…
Browse files Browse the repository at this point in the history
…dows (#9795)
  • Loading branch information
oskirby committed Aug 22, 2024
1 parent b9a2575 commit 44f0bef
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/platforms/windows/daemon/windowsfirewall.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -212,9 +212,8 @@ bool WindowsFirewall::enableLanBypass(const QList<IPAddress>& ranges) {
});

// Blocking unprotected traffic
logger.info() << "Blocking unprotected traffic";
for (const IPAddress& prefix : ranges) {
if (!allowTrafficTo(prefix, MED_WEIGHT, "Allow LAN bypass traffic")) {
if (!allowTrafficTo(prefix, LOW_WEIGHT + 1, "Allow LAN bypass traffic")) {
return false;
}
}
Expand Down

0 comments on commit 44f0bef

Please sign in to comment.