From 7feca163cea417cd96208e3be6419d690e0ef852 Mon Sep 17 00:00:00 2001 From: Lars Eggert Date: Mon, 2 Sep 2024 12:26:54 +0300 Subject: [PATCH] v4 --- src/lib.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index ce3988d..c7c1c93 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -262,8 +262,10 @@ mod test { fn loopback_interface_mtu_v4() { #[cfg(target_os = "macos")] check_mtu("localhost:443", true, 16384); - #[cfg(not(target_os = "macos"))] - check_mtu("localhost:443", true, 65536); + #[cfg(target_os = "linux")] + check_mtu("localhost:443", false, 65536); + #[cfg(target_os = "windows")] + check_mtu("localhost:443", false, 4294967295); } #[test]