From 416202231ee49c431f29e62e52f9510eaeef997d Mon Sep 17 00:00:00 2001 From: Andrej Mihajlov Date: Mon, 17 Feb 2025 17:31:06 +0100 Subject: [PATCH] Fix capacity value --- talpid-core/src/firewall/macos.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/talpid-core/src/firewall/macos.rs b/talpid-core/src/firewall/macos.rs index 9892b68561b6..da22008db559 100644 --- a/talpid-core/src/firewall/macos.rs +++ b/talpid-core/src/firewall/macos.rs @@ -550,7 +550,7 @@ impl Firewall { tunnel: &crate::tunnel::TunnelMetadata, server: IpAddr, ) -> Result> { - let mut rules = Vec::with_capacity(4); + let mut rules = Vec::with_capacity(2); // Allow outgoing requests on the tunnel interface only let allow_tunnel_tcp = self