diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2013-07-12 16:40:59 -0400 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2013-07-12 16:40:59 -0400 |
commit | f934b81703eedbc152f07a90a179847f9cc3caea (patch) | |
tree | 94692e9447873fa469981ede977ed20e9b32b140 /node/Switch.cpp | |
parent | a86e1cdb8874d88c8c84543379ad5552c8ce8701 (diff) | |
download | infinitytier-f934b81703eedbc152f07a90a179847f9cc3caea.tar.gz infinitytier-f934b81703eedbc152f07a90a179847f9cc3caea.zip |
Several bug fixes in newly refactored code.
Diffstat (limited to 'node/Switch.cpp')
-rw-r--r-- | node/Switch.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/node/Switch.cpp b/node/Switch.cpp index 2a95906c..3172d7a9 100644 --- a/node/Switch.cpp +++ b/node/Switch.cpp @@ -557,7 +557,7 @@ void Switch::_handleRemotePacketHead(Demarc::Port localPort,const InetAddress &f Address Switch::_sendWhoisRequest(const Address &addr,const Address *peersAlreadyConsulted,unsigned int numPeersAlreadyConsulted) { - SharedPtr<Peer> supernode(_r->topology->getBestSupernode(peersAlreadyConsulted,numPeersAlreadyConsulted)); + SharedPtr<Peer> supernode(_r->topology->getBestSupernode(peersAlreadyConsulted,numPeersAlreadyConsulted,false)); if (supernode) { Packet outp(supernode->address(),_r->identity.address(),Packet::VERB_WHOIS); outp.append(addr.data(),ZT_ADDRESS_LENGTH); |