From a91a0043ec0af206ccd34b5a543a731df418b7e6 Mon Sep 17 00:00:00 2001 From: Arturo Borrero Gonzalez Date: Thu, 1 Dec 2016 10:59:02 +0100 Subject: 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 Signed-off-by: Pablo Neira Ayuso --- src/sync-notrack.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/sync-notrack.c') 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 { -- cgit v1.2.3