bug fix (we have to compare the IP addresses, not the complete host addresses inclusive port number)
This commit is contained in:
parent
3a1c4510fa
commit
46b9d13274
1 changed files with 1 additions and 1 deletions
|
@ -220,7 +220,7 @@ void CServerListManager::QueryServerList ( const CHostAddress& InetAddr )
|
|||
// he has to connect to the local host address, unfortunately, the
|
||||
// port number is not known (because of NAT port translating) so we
|
||||
// assume that it is the default llcon port number
|
||||
if ( vecServerInfo[iIdx].HostAddr == InetAddr )
|
||||
if ( vecServerInfo[iIdx].HostAddr.InetAddr == InetAddr.InetAddr )
|
||||
{
|
||||
vecServerInfo[iIdx].HostAddr.InetAddr.
|
||||
setAddress ( QHostAddress::LocalHost );
|
||||
|
|
Loading…
Reference in a new issue