(svn r15932) -Codechange: show ip:port as (fallback) servername instead of only the ip. This way you can clearly see there aren't any duplicates.
This commit is contained in:
@@ -429,7 +429,7 @@ void NetworkUDPQueryServerThread(void *pntr)
|
||||
/* Clear item in gamelist */
|
||||
NetworkGameList *item = CallocT<NetworkGameList>(1);
|
||||
item->address = *info;
|
||||
strecpy(item->info.server_name, info->GetHostname(), lastof(item->info.server_name));
|
||||
strecpy(item->info.server_name, info->GetAddressAsString(), lastof(item->info.server_name));
|
||||
strecpy(item->info.hostname, info->GetHostname(), lastof(item->info.hostname));
|
||||
item->manually = info->manually;
|
||||
NetworkGameListAddItemDelayed(item);
|
||||
|
Reference in New Issue
Block a user