summaryrefslogtreecommitdiff
path: root/src/ipcpd/normal
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@ugent.be>2017-03-30 11:44:05 +0200
committerSander Vrijders <sander.vrijders@ugent.be>2017-03-30 11:44:05 +0200
commit7e4ecd961c3476104aa3b845df11dec6dee759cc (patch)
treeb6802d1fca35cda7830ad1a468d98c39a613c8c4 /src/ipcpd/normal
parent349b96d286538dc9f4f68070657f68385d68d50b (diff)
downloadouroboros-7e4ecd961c3476104aa3b845df11dec6dee759cc.tar.gz
ouroboros-7e4ecd961c3476104aa3b845df11dec6dee759cc.zip
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.
Diffstat (limited to 'src/ipcpd/normal')
-rw-r--r--src/ipcpd/normal/enroll.c2
1 files changed, 2 insertions, 0 deletions
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;