summaryrefslogtreecommitdiffstats
path: root/nest/rt-table.c
diff options
context:
space:
mode:
Diffstat (limited to 'nest/rt-table.c')
-rw-r--r--nest/rt-table.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/nest/rt-table.c b/nest/rt-table.c
index cc735e3..73b679d 100644
--- a/nest/rt-table.c
+++ b/nest/rt-table.c
@@ -112,8 +112,11 @@ rte_announce(net *net, rte *new, rte *old)
struct proto *p;
WALK_LIST(p, proto_list)
- if (p->rt_notify)
- p->rt_notify(p, net, new, old);
+ {
+ ASSERT(p->core_state == FS_HAPPY);
+ if (p->rt_notify)
+ p->rt_notify(p, net, new, old);
+ }
}
void