diff --git a/reaction/code/qcommon/net_ip.c b/reaction/code/qcommon/net_ip.c index 2708e9b2..fe5c8da6 100644 --- a/reaction/code/qcommon/net_ip.c +++ b/reaction/code/qcommon/net_ip.c @@ -425,7 +425,7 @@ qboolean NET_CompareBaseAdrMask(netadr_t a, netadr_t b, int netmask) if(curbyte && memcmp(addra, addrb, curbyte)) return qfalse; - netmask &= ~0x07; + netmask &= 0x07; if(netmask) { cmpmask = (1 << netmask) - 1;