mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-01-31 00:23:58 +00:00
Cut out tap test code from selftest.
This commit is contained in:
parent
bbbc032959
commit
9f16707b0b
14
selftest.cpp
14
selftest.cpp
@ -408,19 +408,6 @@ int _tmain(int argc, _TCHAR* argv[])
|
|||||||
int main(int argc,char **argv)
|
int main(int argc,char **argv)
|
||||||
#endif
|
#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;
|
int r = 0;
|
||||||
|
|
||||||
_initLibCrypto();
|
_initLibCrypto();
|
||||||
@ -436,5 +423,4 @@ int main(int argc,char **argv)
|
|||||||
std::cout << std::endl << "SOMETHING FAILED!" << std::endl;
|
std::cout << std::endl << "SOMETHING FAILED!" << std::endl;
|
||||||
|
|
||||||
return r;
|
return r;
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user