mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-21 13:57:49 +00:00
Need to hold nconf so *com does not die while being used.
This commit is contained in:
parent
6693149f3e
commit
3999e468b7
@ -238,9 +238,9 @@ void Multicaster::send(
|
||||
TRACE(">>MC upstream GATHER up to %u for group %.16llx/%s",gatherLimit,nwid,mg.toString().c_str());
|
||||
|
||||
const CertificateOfMembership *com = (CertificateOfMembership *)0;
|
||||
SharedPtr<NetworkConfig> nconf;
|
||||
if (sn->needsOurNetworkMembershipCertificate(nwid,now,true)) {
|
||||
SharedPtr<Network> nw = RR->node->network(nwid);
|
||||
SharedPtr<NetworkConfig> nconf;
|
||||
if (nw) {
|
||||
nconf = nw->config2();
|
||||
if (nconf)
|
||||
|
Loading…
Reference in New Issue
Block a user