Plumb through attaching network ID to packet sends.

This commit is contained in:
Adam Ierymenko 2025-07-16 11:55:00 -04:00
parent 58c80ff0ab
commit 055be92ef0
No known key found for this signature in database
GPG key ID: C8877CF2D7A5D7F3
11 changed files with 76 additions and 52 deletions

View file

@ -13,6 +13,7 @@
#include "Membership.hpp"
#include "Constants.hpp"
#include "Node.hpp"
#include "Packet.hpp"
#include "Peer.hpp"
@ -93,7 +94,7 @@ void Membership::pushCredentials(const RuntimeEnvironment* RR, void* tPtr, const
outp.setAt(cooCountAt, (uint16_t)thisPacketCooCount);
outp.compress();
RR->sw->send(tPtr, outp, true);
RR->sw->send(tPtr, outp, true, nconf.networkId, ZT_QOS_NO_FLOW);
Metrics::pkt_network_credentials_out++;
}