diff options
Diffstat (limited to 'source/net_sock.h')
-rw-r--r-- | source/net_sock.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/net_sock.h b/source/net_sock.h index fb8a970..2669e09 100644 --- a/source/net_sock.h +++ b/source/net_sock.h @@ -116,8 +116,8 @@ static inline qboolean NET_IsLanAddress( const netadr_t *adr ) { if( adr->ip[0] == 127 || adr->ip[0] == 10 ) { return qtrue; } - if( *( uint16_t * )adr->ip == MakeShort( 192, 168 ) || - *( uint16_t * )adr->ip == MakeShort( 172, 16 ) ) + if( *( uint16_t * )adr->ip == MakeRawShort( 192, 168 ) || + *( uint16_t * )adr->ip == MakeRawShort( 172, 16 ) ) { return qtrue; } |