diff --git a/include/re_sa.h b/include/re_sa.h index 519e27a61..21f9c68ef 100644 --- a/include/re_sa.h +++ b/include/re_sa.h @@ -35,13 +35,10 @@ struct sa { union { struct sockaddr sa; struct sockaddr_in in; + struct sockaddr_in6 in6; #if !defined(HAVE_UNIXSOCK) || HAVE_UNIXSOCK == 1 struct sockaddr_un un; #endif -#ifdef HAVE_INET6 - struct sockaddr_in6 in6; -#endif - uint8_t padding[28]; } u; socklen_t len; };