diff --git a/code/qcommon/net_ip.c b/code/qcommon/net_ip.c index e39351e8..22c12733 100644 --- a/code/qcommon/net_ip.c +++ b/code/qcommon/net_ip.c @@ -703,7 +703,7 @@ qboolean Sys_IsLANAddress( netadr_t adr ) { addrsize = sizeof(adr.ip); } - else if(adr.type == NA_IP6) + else { compareip = (byte *) &((struct sockaddr_in6 *) &localIP[index].addr)->sin6_addr; comparemask = (byte *) &((struct sockaddr_in6 *) &localIP[index].netmask)->sin6_addr;