diff --git a/extend.c b/extend.c index 9010234..da8b135 100644 --- a/extend.c +++ b/extend.c @@ -24,7 +24,8 @@ #include "packets.h" #define KEY_SIZE sizeof(uint16_t) + \ - sizeof(sa_family_t) + sizeof(struct sockaddr_in6) + sizeof(((struct sockaddr){}).sa_family) + \ + sizeof(struct sockaddr_in6) int set_timeout(int fd, unsigned int s)