Blame SOURCES/bz1678480-fix-wrong-migrate-checker-id.patch

9cfb40
From cd8b3f6b79d8cd5e89a05825144277785933b687 Mon Sep 17 00:00:00 2001
9cfb40
From: YAMAMOTO Masaya <pandax381@gmail.com>
9cfb40
Date: Tue, 11 Jul 2017 15:47:12 +0900
9cfb40
Subject: [PATCH 4/8] Fix worng migrate of checker-id
9cfb40
9cfb40
---
9cfb40
 keepalived/check/ipwrapper.c | 2 +-
9cfb40
 1 file changed, 1 insertion(+), 1 deletion(-)
9cfb40
9cfb40
diff --git a/keepalived/check/ipwrapper.c b/keepalived/check/ipwrapper.c
9cfb40
index 49262e25..09d86f08 100644
9cfb40
--- a/keepalived/check/ipwrapper.c
9cfb40
+++ b/keepalived/check/ipwrapper.c
9cfb40
@@ -651,7 +651,7 @@ migrate_failed_checkers(real_server_t *old_rs, real_server_t *new_rs)
9cfb40
 			if (old_c->compare == new_c->compare && new_c->compare(old_c, new_c) == 0) {
9cfb40
 				if (svr_checker_up(old_c->id, old_rs) == 0) {
9cfb40
 					id = (checker_id_t *) MALLOC(sizeof(checker_id_t));
9cfb40
-					*id = old_c->id;
9cfb40
+					*id = new_c->id;
9cfb40
 					list_add(new_rs->failed_checkers, id);
9cfb40
 				}
9cfb40
 				break;
9cfb40
-- 
9cfb40
2.20.1
9cfb40