summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
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;