mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-12 16:18:01 +00:00
engine: net_ws: fix printing multicast IPv6 address
This commit is contained in:
parent
87a56a5fa1
commit
c1c27c5f18
@ -723,7 +723,7 @@ const char *NET_AdrToString( const netadr_t a )
|
|||||||
|
|
||||||
if( a.type == NA_LOOPBACK )
|
if( a.type == NA_LOOPBACK )
|
||||||
return "loopback";
|
return "loopback";
|
||||||
if( a.type6 == NA_IP6 )
|
if( a.type6 == NA_IP6 || a.type6 == NA_MULTICAST_IP6 )
|
||||||
{
|
{
|
||||||
uint8_t ip6[16];
|
uint8_t ip6[16];
|
||||||
|
|
||||||
@ -750,7 +750,7 @@ const char *NET_BaseAdrToString( const netadr_t a )
|
|||||||
|
|
||||||
if( a.type == NA_LOOPBACK )
|
if( a.type == NA_LOOPBACK )
|
||||||
return "loopback";
|
return "loopback";
|
||||||
if( a.type6 == NA_IP6 )
|
if( a.type6 == NA_IP6 || a.type6 == NA_MULTICAST_IP6 )
|
||||||
{
|
{
|
||||||
uint8_t ip6[16];
|
uint8_t ip6[16];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user