summaryrefslogtreecommitdiff
path: root/node/Node.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2016-08-09 15:45:26 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2016-08-09 15:45:26 -0700
commite1310a764a39d0ed1f29f213c6e75c4e2d7a8aba (patch)
tree8d7ba50fe474967fef0fe64ab52928e45746b411 /node/Node.cpp
parentdbf3e6c3c9214d1b584da18f82743aa7c301ad3e (diff)
downloadinfinitytier-e1310a764a39d0ed1f29f213c6e75c4e2d7a8aba.tar.gz
infinitytier-e1310a764a39d0ed1f29f213c6e75c4e2d7a8aba.zip
More cleanup and removal of cruft due to obsolete network-specific relays (will be replaced with federation stuff).
Diffstat (limited to 'node/Node.cpp')
-rw-r--r--node/Node.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/node/Node.cpp b/node/Node.cpp
index f04559db..4da79347 100644
--- a/node/Node.cpp
+++ b/node/Node.cpp
@@ -237,7 +237,7 @@ public:
// way whatsoever. This will e.g. find network preferred relays that lack
// stable endpoints by using root servers.
Packet outp(p->address(),RR->identity.address(),Packet::VERB_NOP);
- RR->sw->send(outp,true,0);
+ RR->sw->send(outp,true);
}
lastReceiveFromUpstream = std::max(p->lastReceive(),lastReceiveFromUpstream);
@@ -520,7 +520,7 @@ ZT_ResultCode Node::circuitTestBegin(ZT_CircuitTest *test,void (*reportCallback)
for(unsigned int a=0;a<test->hops[0].breadth;++a) {
outp.newInitializationVector();
outp.setDestination(Address(test->hops[0].addresses[a]));
- RR->sw->send(outp,true,0);
+ RR->sw->send(outp,true);
}
} catch ( ... ) {
return ZT_RESULT_FATAL_ERROR_INTERNAL; // probably indicates FIFO too big for packet