Actually invoke extended armor

This commit is contained in:
Adam Ierymenko 2024-09-27 17:52:43 -04:00
parent e53abe8bde
commit 74404f56ee
No known key found for this signature in database
GPG Key ID: C8877CF2D7A5D7F3

View File

@ -465,8 +465,7 @@ void Peer::sendHELLO(void* tPtr, const int64_t localSocket, const InetAddress& a
Metrics::pkt_hello_out++;
if (atAddress) {
// TODO: this is where extended armor should be invoked
outp.armor(_key, false, false, nullptr, _id);
outp.armor(_key, false, true, nullptr, _id);
RR->node->expectReplyTo(outp.packetId());
RR->node->putPacket(tPtr, RR->node->lowBandwidthModeEnabled() ? localSocket : -1, atAddress, outp.data(), outp.size());
}