From e03102dbcb4d28cfa54740a8d9824d3c6324d97b Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Thu, 14 Mar 2019 14:29:15 -0700 Subject: Clean out some unnecessarily pedantic auth stuff in favor of a simpler way of gating multicast gathers. --- node/Node.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'node/Node.cpp') diff --git a/node/Node.cpp b/node/Node.cpp index 30c722b2..1a1f903d 100644 --- a/node/Node.cpp +++ b/node/Node.cpp @@ -633,6 +633,10 @@ std::vector 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 n(network(nwid)); if (!n) return; -- cgit v1.2.3