diff options
author | Arturo Borrero Gonzalez <arturo@debian.org> | 2016-12-01 10:59:02 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-12-01 13:13:27 +0100 |
commit | a91a0043ec0af206ccd34b5a543a731df418b7e6 (patch) | |
tree | 0add8d8a7c8b7628bf5a40fb3f3156be256d7389 /src/sync-notrack.c | |
parent | abb9984a37f7836f806d97b61efc1aea58270f10 (diff) |
src: add log message when resync is requested by other node
If a resync is requested with 'conntrackd -n', a log message is printed
in the caller node, but no message is printed in the other.
Print a message so tracking the behaviour of a cluster is a bit easier.
Signed-off-by: Arturo Borrero Gonzalez <arturo@debian.org>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/sync-notrack.c')
-rw-r--r-- | src/sync-notrack.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sync-notrack.c b/src/sync-notrack.c index c810bbb..7ade3a7 100644 --- a/src/sync-notrack.c +++ b/src/sync-notrack.c @@ -149,6 +149,7 @@ static int digest_msg(const struct nethdr *net) return MSG_DATA; if (IS_RESYNC(net)) { + dlog(LOG_NOTICE, "resync requested by other node"); if (CONFIG(sync).internal_cache_disable) { kernel_resync(); } else { |