From 7e4ecd961c3476104aa3b845df11dec6dee759cc Mon Sep 17 00:00:00 2001 From: Sander Vrijders Date: Thu, 30 Mar 2017 11:44:05 +0200 Subject: ipcpd: normal: Fix enrollment bug This fixes a bug in enrollment where only the first enrollment would happen correctly since the booleans indicating whether boot, members, and DIF name were sent were not initialized back to false. --- src/ipcpd/normal/enroll.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ipcpd/normal/enroll.c') diff --git a/src/ipcpd/normal/enroll.c b/src/ipcpd/normal/enroll.c index 0b0db1cf..e2762993 100644 --- a/src/ipcpd/normal/enroll.c +++ b/src/ipcpd/normal/enroll.c @@ -152,6 +152,8 @@ static void * enroll_handle(void * o) cdap_del_flow(cdap, conn.flow_info.fd); flow_dealloc(conn.flow_info.fd); + + boot_r = members_r = dif_name_r = false; } return 0; -- cgit v1.2.3