summaryrefslogtreecommitdiff
path: root/nest/rt-table.c
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1999-08-03 19:33:45 +0000
committerMartin Mares <mj@ucw.cz>1999-08-03 19:33:45 +0000
commit8c943173ced1fb85c627a8ba1c3d7360eab7d22b (patch)
tree29949c2bd762507af87457fd5e838ad4204297da /nest/rt-table.c
parent7de45ba4a01bfdc986a4b597c04ad39d9b97a58a (diff)
Allow announces of rte's to protocols in FS_FEEDING state.
Else, we would get chicken-egg problems in the table-to-table protocol.
Diffstat (limited to 'nest/rt-table.c')
-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 f8c4e777..7207160c 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);
}
}