Circuit tests basically work but need some tweaks, and fix some issues found with valgrind.

This commit is contained in:
Adam Ierymenko 2015-10-09 14:51:38 -07:00
parent 97dee9de36
commit a95fa379cc
6 changed files with 59 additions and 34 deletions

View file

@ -491,7 +491,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,test->credentialNetworkId);
RR->sw->send(outp,true,0);
}
} catch ( ... ) {
return ZT_RESULT_FATAL_ERROR_INTERNAL; // probably indicates FIFO too big for packet