Cut out tap test code from selftest.

This commit is contained in:
Adam Ierymenko 2013-08-25 18:25:22 -04:00
parent bbbc032959
commit 9f16707b0b

View File

@ -408,19 +408,6 @@ int _tmain(int argc, _TCHAR* argv[])
int main(int argc,char **argv)
#endif
{
///* For testing windows tap
try {
RuntimeEnvironment renv;
renv.homePath = "C:\\ProgramData\\ZeroTier\\One";
EthernetTap tap(&renv,"test12345",MAC(0x32),2800,NULL,NULL);
Thread::sleep(100000000);
} catch (std::exception &exc) {
std::cout << exc.what() << std::endl;
return 0;
}
//*/
/*
int r = 0;
_initLibCrypto();
@ -436,5 +423,4 @@ int main(int argc,char **argv)
std::cout << std::endl << "SOMETHING FAILED!" << std::endl;
return r;
*/
}