summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorZack Middleton <zturtleman@gmail.com>2013-02-08 16:47:27 -0600
committerTim Angus <tim@ngus.net>2013-02-16 21:54:29 +0000
commit3635595723b5ac3b00056cd8cbc5f7e6052bba3e (patch)
treef750eed9803a6a53839ed01941a7dd5c8b38db89 /src/client
parentd8b58f5a06a2b172362e83b9172ee97471b02fa5 (diff)
Fix resolving IPv6 favorites in Team Arena UI
Diffstat (limited to 'src/client')
-rw-r--r--src/client/cl_ui.c4
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;