summaryrefslogtreecommitdiff
path: root/osnet/WindowsEthernetTapFactory.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@zerotier.com>2014-08-07 19:08:41 -0700
committerAdam Ierymenko <adam.ierymenko@zerotier.com>2014-08-07 19:08:41 -0700
commit77457cbff14546a6b6173a46c0486767dab60847 (patch)
treeb9c5a7453d89678ed46cc51e51c2387c212e8055 /osnet/WindowsEthernetTapFactory.cpp
parentdb0d17cebba67dec344ee63c3b8ecbdc46f2814a (diff)
downloadinfinitytier-77457cbff14546a6b6173a46c0486767dab60847.tar.gz
infinitytier-77457cbff14546a6b6173a46c0486767dab60847.zip
Windows compile fixes, compiler warning fix, unfreed memory fix in main.c (though it would not have mattered since program exits immediately after).
Diffstat (limited to 'osnet/WindowsEthernetTapFactory.cpp')
-rw-r--r--osnet/WindowsEthernetTapFactory.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/osnet/WindowsEthernetTapFactory.cpp b/osnet/WindowsEthernetTapFactory.cpp
index 6564e186..74703077 100644
--- a/osnet/WindowsEthernetTapFactory.cpp
+++ b/osnet/WindowsEthernetTapFactory.cpp
@@ -43,6 +43,7 @@ WindowsEthernetTapFactory::Env::Env()
tapDriver = ((is64Bit == TRUE) ? "\\tap-windows\\x64\\zttap200.inf" : "\\tap-windows\\x86\\zttap200.inf");
#endif
}
+const WindowsEthernetTapFactory::Env WindowsEthernetTapFactory::WINENV;
WindowsEthernetTapFactory::WindowsEthernetTapFactory(const char *pathToHelpers) :
_pathToHelpers(pathToHelpers)