mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-12-06 10:31:31 -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 "Bond.hpp"
|
||||
|
||||
#include "Constants.hpp"
|
||||
#include "Node.hpp"
|
||||
#include "Switch.hpp"
|
||||
|
||||
|
|
@ -899,7 +900,7 @@ void Bond::sendQOS_MEASUREMENT(void* tPtr, int pathIdx, int64_t localSocket, con
|
|||
RR->node->putPacket(tPtr, localSocket, atAddress, outp.data(), outp.size());
|
||||
}
|
||||
else {
|
||||
RR->sw->send(tPtr, outp, false);
|
||||
RR->sw->send(tPtr, outp, false, 0, ZT_QOS_NO_FLOW);
|
||||
}
|
||||
Metrics::pkt_qos_out++;
|
||||
_paths[pathIdx].packetsReceivedSinceLastQoS = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue