mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-18 20:47:53 +00:00
Another dumb RENDEZVOUS bug.
This commit is contained in:
parent
5eae02068d
commit
7fe00f4247
@ -619,7 +619,7 @@ static void handlePacket(const int sock,const InetAddress *const ip,Packet &pkt)
|
||||
outp.append((uint8_t)4);
|
||||
outp.append((const uint8_t *)(forwardTo->ip4.rawIpData()),4);
|
||||
outp.armor(sourcePeer->key,true);
|
||||
sendto(sourcePeer->v6s,outp.data(),outp.size(),SENDTO_FLAGS,(const struct sockaddr *)&(sourcePeer->ip4),(socklen_t)sizeof(struct sockaddr_in));
|
||||
sendto(sourcePeer->v4s,outp.data(),outp.size(),SENDTO_FLAGS,(const struct sockaddr *)&(sourcePeer->ip4),(socklen_t)sizeof(struct sockaddr_in));
|
||||
|
||||
s_outputRate.log(now,outp.size());
|
||||
sourcePeer->lastSend = now;
|
||||
|
Loading…
Reference in New Issue
Block a user