Revert "Fix ip address order"

This reverts commit 12da0044be1f717b7e2b15a3cfb07842f4a1da1e.
This commit is contained in:
Maurice Heumann 2023-02-05 20:06:17 +01:00
parent c040651b2d
commit f94b775094

View File

@ -32,7 +32,7 @@ namespace steam
gameserveritem_t server{}; gameserveritem_t server{};
server.m_NetAdr.m_usConnectionPort = address.port; server.m_NetAdr.m_usConnectionPort = address.port;
server.m_NetAdr.m_usQueryPort = address.port; server.m_NetAdr.m_usQueryPort = address.port;
server.m_NetAdr.m_unIP = ntohl(address.addr); server.m_NetAdr.m_unIP = address.addr;
server.m_nPing = static_cast<int>(ping); server.m_nPing = static_cast<int>(ping);
server.m_bHadSuccessfulResponse = success; server.m_bHadSuccessfulResponse = success;
server.m_bDoNotRefresh = false; server.m_bDoNotRefresh = false;
@ -174,6 +174,7 @@ namespace steam
{ {
ping_server(srv); ping_server(srv);
} }
}); });
return reinterpret_cast<void*>(1); return reinterpret_cast<void*>(1);