mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-12 20:28:27 +00:00
More cleanup to direct path push, comment fixes, etc.
This commit is contained in:
@ -102,13 +102,9 @@ void OutboundMulticast::init(
|
||||
|
||||
void OutboundMulticast::sendOnly(const RuntimeEnvironment *RR,const Address &toAddr)
|
||||
{
|
||||
SharedPtr<Network> network(RR->node->network(_nwid));
|
||||
|
||||
if (!network)
|
||||
return;
|
||||
|
||||
if (_haveCom) {
|
||||
if (network->peerNeedsOurMembershipCertificate(toAddr,RR->node->now())) {
|
||||
SharedPtr<Network> network(RR->node->network(_nwid));
|
||||
if ((network)&&(network->peerNeedsOurMembershipCertificate(toAddr,RR->node->now()))) {
|
||||
_packetWithCom.newInitializationVector();
|
||||
_packetWithCom.setDestination(toAddr);
|
||||
//TRACE(">>MC %.16llx -> %s (with COM)",(unsigned long long)this,toAddr.toString().c_str());
|
||||
|
Reference in New Issue
Block a user