From 88f1fc7500fee3fdf1b6b0c2ccb5d9a3540b0ce1 Mon Sep 17 00:00:00 2001 From: Thilo Schulz Date: Sat, 25 Jun 2011 00:17:44 +0000 Subject: [PATCH] Fix ipv6 server query --- code/client/cl_main.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/code/client/cl_main.c b/code/client/cl_main.c index 502c4e9e..ea2e46cc 100644 --- a/code/client/cl_main.c +++ b/code/client/cl_main.c @@ -3864,17 +3864,14 @@ void CL_GlobalServers_f( void ) { 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));