AntiRecursion cleanup and some other minor things.
This commit is contained in:
parent
05b2c0743f
commit
9aee72099e
3 changed files with 7 additions and 5 deletions
|
@ -34,9 +34,9 @@ namespace ZeroTier {
|
|||
|
||||
bool Path::send(const RuntimeEnvironment *RR,const void *data,unsigned int len,uint64_t now)
|
||||
{
|
||||
RR->antiRec->logOutgoingZT(data,len);
|
||||
if (RR->node->putPacket(_localAddress,address(),data,len)) {
|
||||
sent(now);
|
||||
RR->antiRec->logOutgoingZT(data,len);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue