Commit 8c943173 authored by Martin Mareš's avatar Martin Mareš

Allow announces of rte's to protocols in FS_FEEDING state.

Else, we would get chicken-egg problems in the table-to-table protocol.
parent 7de45ba4
......@@ -142,7 +142,7 @@ rte_announce(rtable *tab, net *net, rte *new, rte *old, ea_list *tmpa)
WALK_LIST(a, tab->hooks)
{
ASSERT(a->proto->core_state == FS_HAPPY);
ASSERT(a->proto->core_state == FS_HAPPY || a->proto->core_state == FS_FEEDING);
do_rte_announce(a, net, new, old, tmpa);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment