diff options
author | Arturo Borrero Gonzalez <arturo@debian.org> | 2017-05-09 09:41:15 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2017-05-15 12:39:11 +0200 |
commit | 3d9849649ec617b45a57a50c93244c13ea8244e0 (patch) | |
tree | 97e7bd7ff155d6b89798076482be13c0277e4a76 /src/main.c | |
parent | d31baccc493ec6484bfcb51d6bce78ff8c3ddc64 (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 <arturo@debian.org>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 --"); sd_ct_init(); + resync_at_startup(); /* * run main process |