summaryrefslogtreecommitdiff
path: root/src/client/main.c
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2014-11-05 01:20:39 +0300
committerAndrey Nazarov <skuller@skuller.net>2014-12-01 23:04:15 +0300
commit3798d858a5f64c17dd31bf34b28b3cc3f868e4b9 (patch)
tree3914e99166adda02e1624a071b8d2dfc21801aeb /src/client/main.c
parent6ed835d943063ea4a81071e7b7d8dae50ff700ba (diff)
Add experimental IPv6 support.
Enabled by default when resolving addresses, but IPv4 is prioritized over IPv6. Listening for incoming IPv6 connections disabled by default. No IPv6 multicast support yet, overcomplicated for no good reason.
Diffstat (limited to 'src/client/main.c')
-rw-r--r--src/client/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/main.c b/src/client/main.c
index 1190130..e4e3d3d 100644
--- a/src/client/main.c
+++ b/src/client/main.c
@@ -1130,7 +1130,7 @@ static void CL_Reconnect_f(void)
}
// issued manually at console
- if (cls.serverAddress.type == NA_BAD) {
+ if (cls.serverAddress.type == NA_UNSPECIFIED) {
Com_Printf("No server to reconnect to.\n");
return;
}