--- libelwix/inc/elwix/anet.h 2016/08/02 11:44:59 1.12 +++ libelwix/inc/elwix/anet.h 2016/08/02 11:57:59 1.12.2.1 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: anet.h,v 1.12 2016/08/02 11:44:59 misho Exp $ +* $Id: anet.h,v 1.12.2.1 2016/08/02 11:57:59 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -63,6 +63,7 @@ typedef union { #endif } sockaddr_t; #define E_SOCKADDR_INIT { .ss = { 0 } } +#define E_SOCKADDR_MAX MIN(sizeof(sockaddr_t), 0xff) typedef union { union {