From 3d2431d8dc2c68c73311d08eaea0d9320f87d2d2 Mon Sep 17 00:00:00 2001
From: Michal 'vorner' Vaner <michal.vaner@nic.cz>
Date: Wed, 25 Nov 2015 14:19:48 +0100
Subject: [PATCH] fwup: Log updates to ipset content

---
 src/plugins/fwup/main.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/plugins/fwup/main.c b/src/plugins/fwup/main.c
index 82bb331f..c6d34bdf 100644
--- a/src/plugins/fwup/main.c
+++ b/src/plugins/fwup/main.c
@@ -377,6 +377,7 @@ static void diff_received(struct context *context, const uint8_t *data, size_t l
 	}
 	set->context = context;
 	uint32_t orig_version;
+	ulog(LLOG_INFO, "Updating ipset %s from version %u to version %u (epoch %u)\n", name, (unsigned)from, (unsigned)to, (unsigned)epoch);
 	enum diff_store_action action = diff_addr_store_apply(context->temp_pool, set->store, full, epoch, from, to, data, length, &orig_version);
 	switch (action) {
 		case DIFF_STORE_INCREMENTAL:
-- 
GitLab