summaryrefslogtreecommitdiffstats
path: root/sysdep
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1999-02-13 21:19:24 +0100
committerMartin Mares <mj@ucw.cz>1999-02-13 21:19:24 +0100
commit0a2e9d9f5685fb4ca63e02fd3645194bb6de79d7 (patch)
treeb48797945458a66ccca3b718f553321774616699 /sysdep
parentf4aabcee62890b7c3e999e188ab72752fbb20b79 (diff)
downloadbird-0a2e9d9f5685fb4ca63e02fd3645194bb6de79d7.tar
bird-0a2e9d9f5685fb4ca63e02fd3645194bb6de79d7.zip
Moved sanity check of protocol state during annoucements to rte_announce.
Diffstat (limited to 'sysdep')
-rw-r--r--sysdep/unix/krt-set.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sysdep/unix/krt-set.c b/sysdep/unix/krt-set.c
index c66116c..2f0abe6 100644
--- a/sysdep/unix/krt-set.c
+++ b/sysdep/unix/krt-set.c
@@ -115,8 +115,6 @@ krt_add_route(rte *new)
void
krt_set_notify(struct proto *x, net *net, rte *new, rte *old)
{
- if (x->proto_state != PS_UP)
- bug("FIXME: krt_set_notify called for downed protocol");
if (old)
krt_remove_route(old);
if (new)