From a5053a2a1ab69ab7a5f676ec4cc6229af746b818 Mon Sep 17 00:00:00 2001 From: James Benton Date: Sun, 2 Sep 2018 09:33:42 +0100 Subject: [PATCH] Fix padding in sockaddr_storage --- include/nsysnet/socket.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/nsysnet/socket.h b/include/nsysnet/socket.h index f35cd45..5647b78 100644 --- a/include/nsysnet/socket.h +++ b/include/nsysnet/socket.h @@ -81,7 +81,7 @@ struct sockaddr struct sockaddr_storage { sa_family_t ss_family; - char __ss_padding[32]; + char ss_padding[14]; }; struct linger