path: root/src/main.c
diff options
authorArturo Borrero Gonzalez <>2017-05-09 09:41:15 +0200
committerPablo Neira Ayuso <>2017-05-15 12:39:11 +0200
commit3d9849649ec617b45a57a50c93244c13ea8244e0 (patch)
tree97e7bd7ff155d6b89798076482be13c0277e4a76 /src/main.c
parentd31baccc493ec6484bfcb51d6bce78ff8c3ddc64 (diff)
conntrackd: request resync at startup
If a node goes to live, ask the other for resync at startup. This has to be done usually by hand, but I guess is an operation common enough to add some bits to ease people life here. Signed-off-by: Arturo Borrero Gonzalez <> Signed-off-by: Pablo Neira Ayuso <>
Diffstat (limited to 'src/main.c')
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 1a57cf8..fb20f1d 100644
--- a/src/main.c
+++ b/src/main.c
@@ -21,6 +21,7 @@
#include "log.h"
#include "helper.h"
#include "systemd.h"
+#include "resync.h"
#include <sys/types.h>
#include <sys/stat.h>
@@ -431,6 +432,7 @@ int main(int argc, char *argv[])
dlog(LOG_NOTICE, "-- starting in console mode --");
+ resync_at_startup();
* run main process