Skip to content

Commit

Permalink
Fix capacity value
Browse files Browse the repository at this point in the history
  • Loading branch information
pronebird authored and dlon committed Feb 18, 2025
1 parent 7178998 commit 4162022
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion talpid-core/src/firewall/macos.rs
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ impl Firewall {
tunnel: &crate::tunnel::TunnelMetadata,
server: IpAddr,
) -> Result<Vec<pfctl::FilterRule>> {
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
Expand Down

0 comments on commit 4162022

Please sign in to comment.