engine: server: fixed incorrect printing of IPv6 address in "status" command

This commit is contained in:
SNMetamorph
2025-05-12 12:59:14 +04:00
committed by Alibek Omarov
parent 8f95535390
commit 32e6f37c7e

View File

@@ -2212,7 +2212,7 @@ static qboolean SV_ClientStatus_f( sv_client_t *cl )
if( ip4.type == NA_IP )
SV_ClientPrintf( cl, "tcp/ip: %s\n", NET_AdrToString( ip4 ));
if( ip6.type == NA_IP6 )
SV_ClientPrintf( cl, "tcp/ipv6: %s\n", NET_AdrToString( ip4 ));
SV_ClientPrintf( cl, "tcp/ipv6: %s\n", NET_AdrToString( ip6 ));
SV_ClientPrintf( cl,
"map:\t%s at %d x, %d y, %d z\n"