diff options
Diffstat (limited to 'src/qcommon')
-rw-r--r-- | src/qcommon/net_ip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qcommon/net_ip.c b/src/qcommon/net_ip.c index a64cd04e..682f4689 100644 --- a/src/qcommon/net_ip.c +++ b/src/qcommon/net_ip.c @@ -426,7 +426,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; |