Don't let tinc service depend on NDIS component.
This commit is contained in:
parent
396ac4be80
commit
faff649882
1 changed files with 1 additions and 1 deletions
|
@ -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()));
|
||||||
|
|
Loading…
Reference in a new issue