More packet metrics (#1982)
* found path negotation sends that weren't accounted for * Fix histogram so it will actually compile * Found more places for packet metrics
This commit is contained in:
parent
4ca3f27293
commit
06b487119d
12 changed files with 41 additions and 6 deletions
|
@ -102,6 +102,7 @@ void Switch::onRemotePacket(void *tPtr,const int64_t localSocket,const InetAddre
|
|||
_lastBeaconResponse = now;
|
||||
Packet outp(peer->address(),RR->identity.address(),Packet::VERB_NOP);
|
||||
outp.armor(peer->key(),true,peer->aesKeysIfSupported());
|
||||
Metrics::pkt_nop_out++;
|
||||
path->send(RR,tPtr,outp.data(),outp.size(),now);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue