Skip to content

Commit

Permalink
engine: net_ws: fix printing multicast IPv6 address
Browse files Browse the repository at this point in the history
  • Loading branch information
a1batross committed Aug 2, 2023
1 parent 87a56a5 commit c1c27c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions engine/common/net_ws.c
Original file line number Diff line number Diff line change
Expand Up @@ -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];

Expand All @@ -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];

Expand Down

0 comments on commit c1c27c5

Please sign in to comment.