revert changes to LoginServer to pull IP from database instead of connectionServer in current VM, may add later for easy external access - credit Seefo

This commit is contained in:
Erusman
2018-04-22 11:26:38 -07:00
parent 6747e918a0
commit dd1955396c

View File

@@ -1438,7 +1438,7 @@ void LoginServer::sendClusterStatus(ClientConnection &conn) const {
// size_t connectionServerChoice = Random::random(cle->m_connectionServers.size() - 1); //lint !e713 !e732 // loss of precision (arg no 1)
ConnectionServerEntry &connServer = cle->m_connectionServers[0];
item.m_connectionServerAddress = cle->m_address;
item.m_connectionServerAddress = connServer.clientServiceAddress;
if (clientIsPrivate) {
item.m_connectionServerPort = connServer.clientServicePortPrivate;
} else {