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

Else, we would get chicken-egg problems in the table-to-table protocol.
This commit is contained in:
Martin Mares 1999-08-03 19:33:45 +00:00
parent 7de45ba4a0
commit 8c943173ce

View file

@ -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);
}
}