From 7b349878231c339ffa60c23bcdbb7ec1147d2e70 Mon Sep 17 00:00:00 2001 From: Zack Middleton Date: Fri, 8 Feb 2013 16:47:27 -0600 Subject: [PATCH] Fix resolving IPv6 favorites in Team Arena UI --- code/client/cl_ui.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/client/cl_ui.c b/code/client/cl_ui.c index 834fa649..67ec918d 100644 --- a/code/client/cl_ui.c +++ b/code/client/cl_ui.c @@ -146,7 +146,7 @@ static int LAN_AddServer(int source, const char *name, const char *address) { break; } if (servers && *count < max) { - NET_StringToAdr( address, &adr, NA_IP ); + NET_StringToAdr( address, &adr, NA_UNSPEC ); for ( i = 0; i < *count; i++ ) { if (NET_CompareAdr(servers[i].adr, adr)) { break; @@ -190,7 +190,7 @@ static void LAN_RemoveServer(int source, const char *addr) { } if (servers) { netadr_t comp; - NET_StringToAdr( addr, &comp, NA_IP ); + NET_StringToAdr( addr, &comp, NA_UNSPEC ); for (i = 0; i < *count; i++) { if (NET_CompareAdr( comp, servers[i].adr)) { int j = i;