capture counts of packets to specific peers

This commit is contained in:
Grant Limberg 2023-05-03 17:53:57 -07:00
parent 427634e1f0
commit f496c31d85
No known key found for this signature in database
GPG key ID: 8F2F97D3BE8D7735
2 changed files with 1 additions and 1 deletions

View file

@ -658,6 +658,7 @@ void Peer::resetWithinScope(void *tPtr,InetAddress::IpScope scope,int inetAddres
void Peer::recordOutgoingPacket(const SharedPtr<Path> &path, const uint64_t packetId,
uint16_t payloadLength, const Packet::Verb verb, const int32_t flowId, int64_t now)
{
_outgoing_packet++;
if (_localMultipathSupported && _bond) {
_bond->recordOutgoingPacket(path, packetId, payloadLength, verb, flowId, now);
}

View file

@ -144,7 +144,6 @@ public:
{
SharedPtr<Path> bp(getAppropriatePath(now,force));
if (bp) {
_outgoing_packet++;
return bp->send(RR,tPtr,data,len,now);
}
return false;