Cleanup and make moons (federated roots) a little easier to deal with.

This commit is contained in:
Adam Ierymenko 2017-02-13 09:03:48 -08:00
parent cdc289fa9c
commit 42f28bce52
10 changed files with 107 additions and 98 deletions

View file

@ -568,6 +568,7 @@ bool IncomingPacket::_doWHOIS(const RuntimeEnvironment *RR,const SharedPtr<Peer>
id.serialize(outp,false);
++count;
} else {
// Request unknown WHOIS from upstream from us (if we have one)
RR->sw->requestWhois(addr);
#ifdef ZT_ENABLE_CLUSTER
// Distribute WHOIS queries across a cluster if we do not know the ID.