mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2026-01-09 02:32:08 -08:00
Plumb through attaching network ID to packet sends.
This commit is contained in:
parent
58c80ff0ab
commit
055be92ef0
11 changed files with 76 additions and 52 deletions
|
|
@ -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++;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue