diff options
author | Sander Vrijders <[email protected]> | 2017-03-30 11:44:05 +0200 |
---|---|---|
committer | Sander Vrijders <[email protected]> | 2017-03-30 11:44:05 +0200 |
commit | 7e4ecd961c3476104aa3b845df11dec6dee759cc (patch) | |
tree | b6802d1fca35cda7830ad1a468d98c39a613c8c4 | |
parent | 349b96d286538dc9f4f68070657f68385d68d50b (diff) | |
download | ouroboros-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.
-rw-r--r-- | src/ipcpd/normal/enroll.c | 2 |
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; |