Skip to content

Commit

Permalink
FW-435. Change skipslot flag to TRUE when the dagroot becomes a non-d…
Browse files Browse the repository at this point in the history
…agroot node.
  • Loading branch information
changtengfei committed Mar 11, 2016
1 parent 4743cca commit 48c3b16
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion openstack/cross-layers/idmanager.c
Original file line number Diff line number Diff line change
Expand Up @@ -210,13 +210,15 @@ void idmanager_triggerAboutRoot() {
break;
case ACTION_NO:
idmanager_setIsDAGroot(FALSE);
idmanager_vars.slotSkip = TRUE;
break;
case ACTION_TOGGLE:
if (idmanager_getIsDAGroot()) {
idmanager_setIsDAGroot(FALSE);
idmanager_vars.slotSkip = FALSE;
idmanager_vars.slotSkip = TRUE;
} else {
idmanager_setIsDAGroot(TRUE);
idmanager_vars.slotSkip = FALSE;
}
break;
}
Expand Down

0 comments on commit 48c3b16

Please sign in to comment.