1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-10 13:23:41 +00:00

Removed old code that setup firewall rules on each service start

This commit is contained in:
Bryan Roe
2022-02-03 09:45:18 -08:00
parent 53064d3745
commit 0d354c9c52

View File

@@ -295,10 +295,6 @@ void WINAPI ServiceMain(DWORD argc, LPTSTR *argv)
// Get our own executable name
GetModuleFileNameW(NULL, str, _MAX_PATH);
#ifndef _MINCORE
// Setup firewall
SetupWindowsFirewall(str);
#endif
// Run the mesh agent
CoInitializeEx(NULL, COINIT_APARTMENTTHREADED);