mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-05 20:13:44 +02:00
Set version threshold correctly for v2
This commit is contained in:
parent
bba1324145
commit
32ca1a09da
2 changed files with 1 additions and 1 deletions
0
.gitignore
vendored
Executable file → Normal file
0
.gitignore
vendored
Executable file → Normal file
|
@ -359,7 +359,7 @@ static void handlePacket(const int v4s,const int v6s,const InetAddress *const ip
|
|||
pkt.append((uint8_t)0);
|
||||
pkt.append((uint16_t)0);
|
||||
ip->serialize(pkt);
|
||||
if (peer->vProto < 11) { // send planet file for pre-2.x peers
|
||||
if (peer->vProto < 20) { // send planet file for pre-2.x peers
|
||||
std::lock_guard<std::mutex> pl(s_planet_l);
|
||||
if (s_planet.length() > 0) {
|
||||
pkt.append((uint16_t)s_planet.size());
|
||||
|
|
Loading…
Add table
Reference in a new issue