mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-07 13:03:45 +02:00
Fix HELLO parse bug.
This commit is contained in:
parent
21f4a97c35
commit
435e4c4695
1 changed files with 1 additions and 1 deletions
|
@ -310,7 +310,7 @@ bool IncomingPacket::_doHELLO(const RuntimeEnvironment *RR,const bool alreadyAut
|
||||||
uint64_t planetWorldTimestamp = 0;
|
uint64_t planetWorldTimestamp = 0;
|
||||||
if ((ptr + 16) <= size()) {
|
if ((ptr + 16) <= size()) {
|
||||||
planetWorldId = at<uint64_t>(ptr); ptr += 8;
|
planetWorldId = at<uint64_t>(ptr); ptr += 8;
|
||||||
planetWorldTimestamp = at<uint64_t>(ptr);
|
planetWorldTimestamp = at<uint64_t>(ptr); ptr += 8;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::vector< std::pair<uint64_t,uint64_t> > moonIdsAndTimestamps;
|
std::vector< std::pair<uint64_t,uint64_t> > moonIdsAndTimestamps;
|
||||||
|
|
Loading…
Add table
Reference in a new issue