mirror of
https://github.com/mangosfour/server.git
synced 2025-12-22 04:37:01 +00:00
Fixed typo.
This commit is contained in:
parent
55a96d18f2
commit
ea6fa98d80
1 changed files with 2 additions and 2 deletions
|
|
@ -933,9 +933,9 @@ void WorldSession::SendRedirectClient(std::string& ip, uint16 port)
|
||||||
pkt << uint32(ip2); // inet_addr(ipstr)
|
pkt << uint32(ip2); // inet_addr(ipstr)
|
||||||
pkt << uint16(port); // port
|
pkt << uint16(port); // port
|
||||||
|
|
||||||
pkt << uint32(GetLatency()); // latency-related?
|
pkt << uint32(0); // unknown
|
||||||
|
|
||||||
HMACSHA1 sha1(20, m_Socket->GetSessionKey().AsByteArray());
|
HMACSHA1 sha1(40, m_Socket->GetSessionKey().AsByteArray());
|
||||||
sha1.UpdateData((uint8*)&ip2, 4);
|
sha1.UpdateData((uint8*)&ip2, 4);
|
||||||
sha1.UpdateData((uint8*)&port, 2);
|
sha1.UpdateData((uint8*)&port, 2);
|
||||||
sha1.Finalize();
|
sha1.Finalize();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue