summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--talpid-core/src/firewall/macos.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/talpid-core/src/firewall/macos.rs b/talpid-core/src/firewall/macos.rs
index 116596b33e..bb0b7b34f6 100644
--- a/talpid-core/src/firewall/macos.rs
+++ b/talpid-core/src/firewall/macos.rs
@@ -115,6 +115,8 @@ impl Firewall {
.chain(ALLOWED_LAN_MULTICAST_NETS.iter())
.any(|net| net.contains(remote_address.ip()));
if net_is_lan {
+ // Since LAN traffic is allowed, there's no need to flush these states, and
+ // connections initiated before a firewall state change should not be interrupted.
return Ok(false);
}
}