Skip to content
Snippets Groups Projects
Commit 4821251e authored by Ondřej Zajíček's avatar Ondřej Zajíček
Browse files

BFD: Fix reconfiguration of neighbors

The bfd_reconfigure_neighbors() returned after first reconfigured
neighbor instead of continuing with the next one.

Thanks to Winston Chen for the bugreport and a patch.
parent ca2dacfc
No related branches found
No related tags found
No related merge requests found
Pipeline #53334 passed with warnings
......@@ -837,10 +837,11 @@ bfd_reconfigure_neighbors(struct bfd_proto *p, struct bfd_config *new)
nn->req = on->req;
nn->active = 1;
return;
goto next;
}
bfd_stop_neighbor(p, on);
next:;
}
WALK_LIST(nn, new->neigh_list)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment