Don't let tinc service depend on NDIS component.

This commit is contained in:
Guus Sliepen 2004-11-01 15:18:22 +00:00
parent 396ac4be80
commit faff649882

View file

@ -104,7 +104,7 @@ bool install_service(void) {
service = CreateService(manager, identname, identname, service = CreateService(manager, identname, identname,
SERVICE_ALL_ACCESS, SERVICE_WIN32_OWN_PROCESS, SERVICE_AUTO_START, SERVICE_ERROR_NORMAL, SERVICE_ALL_ACCESS, SERVICE_WIN32_OWN_PROCESS, SERVICE_AUTO_START, SERVICE_ERROR_NORMAL,
command, "NDIS", NULL, NULL, NULL, NULL); command, NULL, NULL, NULL, NULL, NULL);
if(!service) { if(!service) {
logger(LOG_ERR, _("Could not create %s service: %s"), identname, winerror(GetLastError())); logger(LOG_ERR, _("Could not create %s service: %s"), identname, winerror(GetLastError()));