mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-06 20:43:44 +02:00
Need to hold nconf so *com does not die while being used.
This commit is contained in:
parent
6693149f3e
commit
3999e468b7
1 changed files with 1 additions and 1 deletions
|
@ -238,9 +238,9 @@ void Multicaster::send(
|
||||||
TRACE(">>MC upstream GATHER up to %u for group %.16llx/%s",gatherLimit,nwid,mg.toString().c_str());
|
TRACE(">>MC upstream GATHER up to %u for group %.16llx/%s",gatherLimit,nwid,mg.toString().c_str());
|
||||||
|
|
||||||
const CertificateOfMembership *com = (CertificateOfMembership *)0;
|
const CertificateOfMembership *com = (CertificateOfMembership *)0;
|
||||||
|
SharedPtr<NetworkConfig> nconf;
|
||||||
if (sn->needsOurNetworkMembershipCertificate(nwid,now,true)) {
|
if (sn->needsOurNetworkMembershipCertificate(nwid,now,true)) {
|
||||||
SharedPtr<Network> nw = RR->node->network(nwid);
|
SharedPtr<Network> nw = RR->node->network(nwid);
|
||||||
SharedPtr<NetworkConfig> nconf;
|
|
||||||
if (nw) {
|
if (nw) {
|
||||||
nconf = nw->config2();
|
nconf = nw->config2();
|
||||||
if (nconf)
|
if (nconf)
|
||||||
|
|
Loading…
Add table
Reference in a new issue