Skip to content

Commit

Permalink
ifreload: reset also pulled in children
Browse files Browse the repository at this point in the history
  • Loading branch information
wipawel committed Jul 15, 2014
1 parent bda7ee1 commit c626d28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/ifreload.c
Expand Up @@ -293,14 +293,14 @@ ni_do_ifreload(int argc, char **argv)
ni_debug_application("No interfaces to be brought down\n");
}

ni_fsm_pull_in_children(&up_marked);
/* Drop deleted or apply the up range */
ni_fsm_reset_matching_workers(fsm, &up_marked, &up_range, FALSE);

/* anything to ifup? */
if (up_marked.count) {
/* And trigger up */
ni_debug_application("Reloading all changed devices");
ni_fsm_pull_in_children(&up_marked);
if (ni_fsm_start_matching_workers(fsm, &up_marked)) {
/* Execute the up run */
if (ni_fsm_schedule(fsm) != 0)
Expand Down

0 comments on commit c626d28

Please sign in to comment.