diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2019-03-14 14:29:15 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2019-03-14 14:29:15 -0700 |
| commit | e03102dbcb4d28cfa54740a8d9824d3c6324d97b (patch) | |
| tree | a0da61347f8899b7aa93ab3e754f337151e936d8 /node/Node.cpp | |
| parent | 9d7b7c72b2dd769853bea3423321539ab198829e (diff) | |
| download | infinitytier-e03102dbcb4d28cfa54740a8d9824d3c6324d97b.tar.gz infinitytier-e03102dbcb4d28cfa54740a8d9824d3c6324d97b.zip | |
Clean out some unnecessarily pedantic auth stuff in favor of a simpler way of gating multicast gathers.
Diffstat (limited to 'node/Node.cpp')
| -rw-r--r-- | node/Node.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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<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; |
