Skip to content

Commit

Permalink
Merge branch 'crashey' of git://github.com/Arceliar/cjdns into crashey
Browse files Browse the repository at this point in the history
  • Loading branch information
cjdelisle committed Apr 9, 2015
2 parents 27d9161 + 767c307 commit b99be9a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dht/dhtcore/Janitor.c
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,8 @@ static bool tryLinkMill(struct Janitor_pvt* janitor)
struct Address addr = { .protocolVersion = 0 };
while (RumorMill_getNode(janitor->pub.linkMill, &addr)) {
if (!canPing(janitor, addr.path)) { continue; }
// ping a node from the externally accessible queue
if (!NodeStore_nodeForAddr(janitor->nodeStore, addr.ip6.bytes)) { continue; }
// test an unknown link to a known node
getPeersMill(janitor, &addr);
debugAddr(janitor, "Pinging possible node from link-finding RumorMill", &addr);
return true;
Expand Down

0 comments on commit b99be9a

Please sign in to comment.