From 069bfcb53cef012c063a27e5af93d620be2917bd Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Tue, 24 Nov 2009 17:15:20 +0100 Subject: 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. --- nest/rt-table.c | 1 + 1 file changed, 1 insertion(+) (limited to 'nest') diff --git a/nest/rt-table.c b/nest/rt-table.c index 87bf0dc..dda0e56 100644 --- a/nest/rt-table.c +++ b/nest/rt-table.c @@ -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(); } -- cgit v1.2.3