summaryrefslogtreecommitdiff
path: root/selftest.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@zerotier.com>2013-08-22 22:33:32 -0400
committerAdam Ierymenko <adam.ierymenko@zerotier.com>2013-08-22 22:33:32 -0400
commitc8213a3f5848c7c8494b8dec56d33cf2d7f59add (patch)
tree8c959886ea2d3de91310dc3a2186ca47e825c048 /selftest.cpp
parentd19516b40a3532788c97670574434c53196e6bcb (diff)
downloadinfinitytier-c8213a3f5848c7c8494b8dec56d33cf2d7f59add.tar.gz
infinitytier-c8213a3f5848c7c8494b8dec56d33cf2d7f59add.zip
Commit of a draft of the pcap-based strategy for a Windows tap. This may, in the end, not work, since winpcap may not support immediate capture and also because some software flags winpcap as malware. Like I said, trying to do anything interesting with Windows is PAIN.
Diffstat (limited to 'selftest.cpp')
-rw-r--r--selftest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/selftest.cpp b/selftest.cpp
index ab78c8f8..2f5c6205 100644
--- a/selftest.cpp
+++ b/selftest.cpp
@@ -412,7 +412,7 @@ int main(int argc,char **argv)
RuntimeEnvironment renv;
renv.homePath = "C:";
EthernetTap tap(&renv,"test12345",MAC(),2800,NULL,NULL);
- return 0;
+ Thread::sleep(100000000);
} catch (std::exception &exc) {
std::cout << exc.what() << std::endl;
return 0;