Skip to content

Commit 97ca6a2

Browse files
Enable constant packet size for wireguard-go
1 parent aad8722 commit 97ca6a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

talpid-wireguard/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,7 @@ impl WireguardMonitor {
558558
}
559559

560560
config.exit_peer_mut().psk = exit_psk;
561-
#[cfg(target_os = "windows")]
561+
#[cfg(any(target_os = "windows", target_os = "linux"))]
562562
if config.daita {
563563
log::trace!("Enabling constant packet size for entry peer");
564564
config.entry_peer.constant_packet_size = true;

0 commit comments

Comments
 (0)