mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
engine: net_ws: fix printing multicast IPv6 address
This commit is contained in:
@@ -723,7 +723,7 @@ const char *NET_AdrToString( const netadr_t a )
|
||||
|
||||
if( a.type == NA_LOOPBACK )
|
||||
return "loopback";
|
||||
if( a.type6 == NA_IP6 )
|
||||
if( a.type6 == NA_IP6 || a.type6 == NA_MULTICAST_IP6 )
|
||||
{
|
||||
uint8_t ip6[16];
|
||||
|
||||
@@ -750,7 +750,7 @@ const char *NET_BaseAdrToString( const netadr_t a )
|
||||
|
||||
if( a.type == NA_LOOPBACK )
|
||||
return "loopback";
|
||||
if( a.type6 == NA_IP6 )
|
||||
if( a.type6 == NA_IP6 || a.type6 == NA_MULTICAST_IP6 )
|
||||
{
|
||||
uint8_t ip6[16];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user