File diff r25304:2d7ac9e432f0 → r25305:ecd5783e4abe
src/network/network_udp.cpp
Show inline comments
 
@@ -92,7 +92,6 @@ static void DoNetworkUDPQueryServer(Netw
 
	/* Clear item in gamelist */
 
	NetworkGameList *item = CallocT<NetworkGameList>(1);
 
	address.GetAddressAsString(item->info.server_name, lastof(item->info.server_name));
 
	strecpy(item->info.hostname, address.GetHostname(), lastof(item->info.hostname));
 
	item->address = address;
 
	item->manually = manually;
 
	NetworkGameListAddItemDelayed(item);
 
@@ -365,10 +364,6 @@ void ClientNetworkUDPSocketHandler::Rece
 
		}
 
	}
 

	
 
	if (item->info.hostname[0] == '\0') {
 
		seprintf(item->info.hostname, lastof(item->info.hostname), "%s", client_addr->GetHostname());
 
	}
 

	
 
	if (client_addr->GetAddress()->ss_family == AF_INET6) {
 
		strecat(item->info.server_name, " (IPv6)", lastof(item->info.server_name));
 
	}