mirror of
https://github.com/Ylianst/MeshAgent
synced 2025-12-15 07:43:50 +00:00
Removed old code that setup firewall rules on each service start
This commit is contained in:
@@ -295,10 +295,6 @@ void WINAPI ServiceMain(DWORD argc, LPTSTR *argv)
|
|||||||
// Get our own executable name
|
// Get our own executable name
|
||||||
GetModuleFileNameW(NULL, str, _MAX_PATH);
|
GetModuleFileNameW(NULL, str, _MAX_PATH);
|
||||||
|
|
||||||
#ifndef _MINCORE
|
|
||||||
// Setup firewall
|
|
||||||
SetupWindowsFirewall(str);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// Run the mesh agent
|
// Run the mesh agent
|
||||||
CoInitializeEx(NULL, COINIT_APARTMENTTHREADED);
|
CoInitializeEx(NULL, COINIT_APARTMENTTHREADED);
|
||||||
|
|||||||
Reference in New Issue
Block a user