0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 01:31:55 +00:00

Fixes serious bug in core related to route filtering.

If protocol announces a route, route is accepted by import filter to
routing table, and later it announces replacement of that route that is
rejected by import filter, old route remains in routing table.
This commit is contained in:
Ondrej Zajicek 2009-11-24 17:15:20 +01:00
parent 717e4c4d81
commit 069bfcb53c

View File

@ -636,6 +636,7 @@ rte_update(rtable *table, net *net, struct proto *p, struct proto *src, rte *new
drop:
rte_free(new);
rte_recalculate(table, net, p, src, NULL, NULL);
rte_update_unlock();
}