diff options
author | Adam Ierymenko <adam.ierymenko@zerotier.com> | 2013-08-23 17:39:21 -0400 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@zerotier.com> | 2013-08-23 17:39:21 -0400 |
commit | e2effbd1ce607ff83556935e5d22b9b3eca5efa5 (patch) | |
tree | 7dd21b5f6a3d91e92696241da186d752d5c98ccc /selftest.cpp | |
parent | b6248c7cb7e3e72780aa8981f8c0e39f5168d658 (diff) | |
download | infinitytier-e2effbd1ce607ff83556935e5d22b9b3eca5efa5.tar.gz infinitytier-e2effbd1ce607ff83556935e5d22b9b3eca5efa5.zip |
Tap driver basically builds in VS2012... fork of tap-windows from OpenVPN (compatible license).
Diffstat (limited to 'selftest.cpp')
-rw-r--r-- | selftest.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/selftest.cpp b/selftest.cpp index d86c57d8..836cee9a 100644 --- a/selftest.cpp +++ b/selftest.cpp @@ -408,18 +408,19 @@ int _tmain(int argc, _TCHAR* argv[]) int main(int argc,char **argv) #endif { - /* For testing windows tap + ///* For testing windows tap try { RuntimeEnvironment renv; renv.homePath = "C:"; - EthernetTap tap(&renv,"test12345",MAC(),2800,NULL,NULL); + 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(); @@ -435,4 +436,5 @@ int main(int argc,char **argv) std::cout << std::endl << "SOMETHING FAILED!" << std::endl; return r; + */ } |