From 905c23e90be1ab4c6bc91f18f80eba17bcbd0c10 Mon Sep 17 00:00:00 2001 From: Jarred Allen Date: Fri, 19 May 2023 16:40:23 -0700 Subject: Set the length of a sockaddr received on Linux --- src/sys/socket/addr.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sys/socket/addr.rs') diff --git a/src/sys/socket/addr.rs b/src/sys/socket/addr.rs index 48309749..8c5a56fe 100644 --- a/src/sys/socket/addr.rs +++ b/src/sys/socket/addr.rs @@ -1679,7 +1679,7 @@ impl PartialEq for SockaddrStorage { } } -mod private { +pub(super) mod private { pub trait SockaddrLikePriv { /// Returns a mutable raw pointer to the inner structure. /// -- cgit v1.2.3