[quake3-commits] r2058 - trunk/code/client

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Fri Jun 24 20:17:44 EDT 2011


Author: thilo
Date: 2011-06-24 20:17:44 -0400 (Fri, 24 Jun 2011)
New Revision: 2058

Modified:
   trunk/code/client/cl_main.c
Log:
Fix ipv6 server query


Modified: trunk/code/client/cl_main.c
===================================================================
--- trunk/code/client/cl_main.c	2011-06-24 23:25:30 UTC (rev 2057)
+++ trunk/code/client/cl_main.c	2011-06-25 00:17:44 UTC (rev 2058)
@@ -3864,17 +3864,14 @@
 		
 		if(v4enabled)
 		{
-			Com_sprintf(command, sizeof(command), "getserversExt %s %s ipv6",
+			Com_sprintf(command, sizeof(command), "getserversExt %s %s",
 				cl_gamename->string, Cmd_Argv(2));
 		}
 		else
 		{
-			Com_sprintf(command, sizeof(command), "getserversExt %s %s",
+			Com_sprintf(command, sizeof(command), "getserversExt %s %s ipv6",
 				cl_gamename->string, Cmd_Argv(2));
 		}
-
-		// TODO: test if we only have an IPv6 connection. If it's the case,
-		//       request IPv6 servers only by appending " ipv6" to the command
 	}
 	else
 		Com_sprintf(command, sizeof(command), "getservers %s", Cmd_Argv(2));



More information about the quake3-commits mailing list