]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Allow announces of rte's to protocols in FS_FEEDING state.
authorMartin Mares <mj@ucw.cz>
Tue, 3 Aug 1999 19:33:45 +0000 (19:33 +0000)
committerMartin Mares <mj@ucw.cz>
Tue, 3 Aug 1999 19:33:45 +0000 (19:33 +0000)
Else, we would get chicken-egg problems in the table-to-table protocol.

nest/rt-table.c

index f8c4e77735613d20e25c1a6a249d6758aa264ba6..7207160c7661e1996a5171775552059a3d6656f4 100644 (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);
     }
 }