summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1999-08-03 21:33:45 +0200
committerMartin Mares <mj@ucw.cz>1999-08-03 21:33:45 +0200
commit8c943173ced1fb85c627a8ba1c3d7360eab7d22b (patch)
tree29949c2bd762507af87457fd5e838ad4204297da
parent7de45ba4a01bfdc986a4b597c04ad39d9b97a58a (diff)
downloadbird-8c943173ced1fb85c627a8ba1c3d7360eab7d22b.tar
bird-8c943173ced1fb85c627a8ba1c3d7360eab7d22b.zip
Allow announces of rte's to protocols in FS_FEEDING state.
Else, we would get chicken-egg problems in the table-to-table protocol.
-rw-r--r--nest/rt-table.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nest/rt-table.c b/nest/rt-table.c
index f8c4e77..7207160 100644
--- a/nest/rt-table.c
+++ b/nest/rt-table.c
@@ -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);
}
}