diff options
author | Zack Middleton <zturtleman@gmail.com> | 2013-02-08 16:47:27 -0600 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-02-16 21:54:29 +0000 |
commit | 3635595723b5ac3b00056cd8cbc5f7e6052bba3e (patch) | |
tree | f750eed9803a6a53839ed01941a7dd5c8b38db89 | |
parent | d8b58f5a06a2b172362e83b9172ee97471b02fa5 (diff) |
Fix resolving IPv6 favorites in Team Arena UI
-rw-r--r-- | src/client/cl_ui.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/cl_ui.c b/src/client/cl_ui.c index 049260d2..d8d3fe89 100644 --- a/src/client/cl_ui.c +++ b/src/client/cl_ui.c @@ -189,7 +189,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; @@ -233,7 +233,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; |