summaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@zerotier.com>2014-08-12 17:20:34 -0700
committerAdam Ierymenko <adam.ierymenko@zerotier.com>2014-08-12 17:20:34 -0700
commitf8d4611d15b18bf505de9ca82d74f5102fc57024 (patch)
tree731d0e6e1f808c227f1e82eaa15c238a3fa437a1 /main.cpp
parentf25bd41a03561b960622fefd9ab22a03010e9733 (diff)
downloadinfinitytier-f8d4611d15b18bf505de9ca82d74f5102fc57024.tar.gz
infinitytier-f8d4611d15b18bf505de9ca82d74f5102fc57024.zip
(1) Tweak LAN locator beacon frequencies, (2) Windows virtual networks
now show up as *real* networks and prompt the user to set their location and firewall status (public, private, home/work, etc.). The hack used to achieve #2 should not be examined by children or those suffering from epilepsy or heart conditions.
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.cpp b/main.cpp
index ef642281..3eea745e 100644
--- a/main.cpp
+++ b/main.cpp
@@ -43,6 +43,7 @@
#include <wchar.h>
#include <lmcons.h>
#include <newdev.h>
+#include <atlbase.h>
#include "windows/ZeroTierOne/ServiceInstaller.h"
#include "windows/ZeroTierOne/ServiceBase.h"
#include "windows/ZeroTierOne/ZeroTierOneService.h"
@@ -422,7 +423,6 @@ static void _winPokeAHole()
if ((ps > 0)&&(ps < (DWORD)sizeof(myPath))) {
STARTUPINFOA startupInfo;
PROCESS_INFORMATION processInfo;
- fprintf(stderr,"*** path: %s\n",myPath);
startupInfo.cb = sizeof(startupInfo);
memset(&startupInfo,0,sizeof(STARTUPINFOA));