summaryrefslogtreecommitdiff
path: root/node
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2015-07-31 09:50:55 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2015-07-31 09:50:55 -0700
commitfacb009a1dbed53ac722180aec1250bbe6334001 (patch)
treefef50471d32c7c3e78e36ef9a97e97fdb0dc6092 /node
parent8d09c37140ef589d9e23993e20a080936b90a7aa (diff)
downloadinfinitytier-facb009a1dbed53ac722180aec1250bbe6334001.tar.gz
infinitytier-facb009a1dbed53ac722180aec1250bbe6334001.zip
Add security notice to auto-update info in -h output, and fix a missing paren.
Diffstat (limited to 'node')
-rw-r--r--node/Network.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/node/Network.cpp b/node/Network.cpp
index 8922483d..39042fab 100644
--- a/node/Network.cpp
+++ b/node/Network.cpp
@@ -533,7 +533,7 @@ public:
inline void operator()(Topology &t,const SharedPtr<Peer> &p)
{
- if ( ( (p->hasActiveDirectPath(_now)) && ( (_network->_isAllowed(p->address())) || (p->address() == _network->controller()) ) || (std::find(_rootAddresses.begin(),_rootAddresses.end(),p->address()) != _rootAddresses.end()) ) {
+ if ( ( (p->hasActiveDirectPath(_now)) && ( (_network->_isAllowed(p->address())) || (p->address() == _network->controller()) ) ) || (std::find(_rootAddresses.begin(),_rootAddresses.end(),p->address()) != _rootAddresses.end()) ) {
Packet outp(p->address(),RR->identity.address(),Packet::VERB_MULTICAST_LIKE);
for(std::vector<MulticastGroup>::iterator mg(_allMulticastGroups.begin());mg!=_allMulticastGroups.end();++mg) {