mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-05 03:53:44 +02:00
Actually invoke extended armor
This commit is contained in:
parent
e53abe8bde
commit
74404f56ee
1 changed files with 1 additions and 2 deletions
|
@ -465,8 +465,7 @@ void Peer::sendHELLO(void* tPtr, const int64_t localSocket, const InetAddress& a
|
||||||
Metrics::pkt_hello_out++;
|
Metrics::pkt_hello_out++;
|
||||||
|
|
||||||
if (atAddress) {
|
if (atAddress) {
|
||||||
// TODO: this is where extended armor should be invoked
|
outp.armor(_key, false, true, nullptr, _id);
|
||||||
outp.armor(_key, false, false, nullptr, _id);
|
|
||||||
RR->node->expectReplyTo(outp.packetId());
|
RR->node->expectReplyTo(outp.packetId());
|
||||||
RR->node->putPacket(tPtr, RR->node->lowBandwidthModeEnabled() ? localSocket : -1, atAddress, outp.data(), outp.size());
|
RR->node->putPacket(tPtr, RR->node->lowBandwidthModeEnabled() ? localSocket : -1, atAddress, outp.data(), outp.size());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue