From c1c27c5f18410c3c31eba94f6fb490a3d876e5ca Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Thu, 3 Aug 2023 01:11:54 +0300 Subject: [PATCH] engine: net_ws: fix printing multicast IPv6 address --- engine/common/net_ws.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/common/net_ws.c b/engine/common/net_ws.c index 4d52467e..d77216ba 100644 --- a/engine/common/net_ws.c +++ b/engine/common/net_ws.c @@ -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];