From 03df47c64467d61f31df7b37b30d161ece170f62 Mon Sep 17 00:00:00 2001 From: Lars Eggert Date: Mon, 2 Sep 2024 12:21:21 +0300 Subject: [PATCH] Fix test --- src/lib.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 3aab331..ce3988d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -270,8 +270,10 @@ mod test { fn loopback_interface_mtu_v6() { #[cfg(target_os = "macos")] check_mtu("localhost:443", false, 16384); - #[cfg(not(target_os = "macos"))] + #[cfg(target_os = "linux")] check_mtu("localhost:443", false, 65536); + #[cfg(target_os = "windows")] + check_mtu("localhost:443", false, 4294967295); } #[test]