Lines 12-17
Link Here
|
12 |
|
12 |
|
13 |
#include "../common/aiccu.h" |
13 |
#include "../common/aiccu.h" |
14 |
#include "../common/tun.h" |
14 |
#include "../common/tun.h" |
|
|
15 |
#include <systemd/sd-daemon.h> |
15 |
|
16 |
|
16 |
#ifndef _WIN32 |
17 |
#ifndef _WIN32 |
17 |
/* Enable/Disable heartbeating */ |
18 |
/* Enable/Disable heartbeating */ |
Lines 478-483
int main(int argc, char *argv[])
Link Here
|
478 |
aiccu_exec("%s", g_aiccu->setupscript); |
479 |
aiccu_exec("%s", g_aiccu->setupscript); |
479 |
} |
480 |
} |
480 |
|
481 |
|
|
|
482 |
/* Tell systemd we are operational. */ |
483 |
sd_notify(0, "READY=1"); |
481 |
|
484 |
|
482 |
/* We need to stay running when doing Heartbeat or AYIYA */ |
485 |
/* We need to stay running when doing Heartbeat or AYIYA */ |
483 |
if ( strcasecmp(hTunnel->sType, "6in4-heartbeat") == 0 || |
486 |
if ( strcasecmp(hTunnel->sType, "6in4-heartbeat") == 0 || |