diff --git a/node/Bond.cpp b/node/Bond.cpp index 8edd7e297..3ae3f98ae 100644 --- a/node/Bond.cpp +++ b/node/Bond.cpp @@ -809,6 +809,7 @@ void Bond::sendPATH_NEGOTIATION_REQUEST(void* tPtr, int pathIdx) Packet outp(_peer->_id.address(), RR->identity.address(), Packet::VERB_PATH_NEGOTIATION_REQUEST); outp.append(_localUtility); if (_paths[pathIdx].p->address()) { + Metrics::pkt_path_negotiation_request_out++; outp.armor(_peer->key(), false, _peer->aesKeysIfSupported()); RR->node->putPacket(tPtr, _paths[pathIdx].p->localSocket(), _paths[pathIdx].p->address(), outp.data(), outp.size()); _overheadBytes += outp.size(); diff --git a/node/Peer.cpp b/node/Peer.cpp index 34e3b9c4f..3972204c0 100644 --- a/node/Peer.cpp +++ b/node/Peer.cpp @@ -234,6 +234,7 @@ void Peer::received( ++p; } if (count) { + Metrics::pkt_push_direct_paths_out++; outp->setAt(ZT_PACKET_IDX_PAYLOAD,(uint16_t)count); outp->compress(); outp->armor(_key,true,aesKeysIfSupported());