1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

Moved sanity check of protocol state during annoucements to rte_announce.

This commit is contained in:
Martin Mares
1999-02-13 20:19:24 +00:00
parent f4aabcee62
commit 0a2e9d9f56
2 changed files with 5 additions and 4 deletions

View File

@@ -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)