mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-01-29 15:43:52 +00:00
Put selftest back and turn off tracing in PortMapper.
This commit is contained in:
parent
f260250580
commit
c21882da9c
@ -28,7 +28,7 @@
|
||||
#ifdef ZT_USE_MINIUPNPC
|
||||
|
||||
// Uncomment to dump debug messages
|
||||
#define ZT_PORTMAPPER_TRACE 1
|
||||
//#define ZT_PORTMAPPER_TRACE 1
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
@ -1096,7 +1096,7 @@ int main(int argc,char **argv)
|
||||
|
||||
srand((unsigned int)time(0));
|
||||
|
||||
/*
|
||||
///*
|
||||
r |= testSqliteNetworkController();
|
||||
r |= testOther();
|
||||
r |= testCrypto();
|
||||
@ -1106,17 +1106,19 @@ int main(int argc,char **argv)
|
||||
r |= testPhy();
|
||||
r |= testResolver();
|
||||
//r |= testHttp();
|
||||
*/
|
||||
//*/
|
||||
|
||||
if (r)
|
||||
std::cout << std::endl << "SOMETHING FAILED!" << std::endl;
|
||||
|
||||
/*
|
||||
#ifdef ZT_USE_MINIUPNPC
|
||||
std::cout << std::endl;
|
||||
std::cout << "[portmapper] Starting port mapper and waiting forever... use CTRL+C to exit. (enable ZT_PORTMAPPER_TRACE in PortMapper.cpp for output)" << std::endl;
|
||||
PortMapper mapper(12345,"ZeroTier/__selftest");
|
||||
Thread::sleep(0xffffffff);
|
||||
#endif
|
||||
*/
|
||||
|
||||
return r;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user