Clean out some unnecessarily pedantic auth stuff in favor of a simpler way of gating multicast gathers.
This commit is contained in:
parent
9d7b7c72b2
commit
e03102dbcb
8 changed files with 51 additions and 121 deletions
|
@ -633,6 +633,10 @@ std::vector<World> Node::moons() const
|
|||
|
||||
void Node::ncSendConfig(uint64_t nwid,uint64_t requestPacketId,const Address &destination,const NetworkConfig &nc,bool sendLegacyFormatConfig)
|
||||
{
|
||||
_localControllerAuthorizations_m.lock();
|
||||
_localControllerAuthorizations[_LocalControllerAuth(nwid,destination)] = now();
|
||||
_localControllerAuthorizations_m.unlock();
|
||||
|
||||
if (destination == RR->identity.address()) {
|
||||
SharedPtr<Network> n(network(nwid));
|
||||
if (!n) return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue