--- libelwix/src/net.c 2014/12/17 01:12:34 1.10.10.7 +++ libelwix/src/net.c 2015/06/25 17:53:50 1.12 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: net.c,v 1.10.10.7 2014/12/17 01:12:34 misho Exp $ +* $Id: net.c,v 1.12 2015/06/25 17:53:50 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -12,7 +12,7 @@ terms: All of the documentation and software included in the ELWIX and AITNET Releases is copyrighted by ELWIX - Sofia/Bulgaria -Copyright 2004 - 2014 +Copyright 2004 - 2015 by Michael Pounov . All rights reserved. Redistribution and use in source and binary forms, with or without @@ -332,6 +332,8 @@ e_addrcmp(sockaddr_t * __restrict a, sockaddr_t * __re case AF_LINK: return memcmp(&a->sdl.sdl_data, &b->sdl.sdl_data, sizeof a->sdl.sdl_data); + case AF_UNSPEC: + return memcmp(a, b, sizeof(sockaddr_t)); } return (int) !!(a - b);