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

Export table: Delay freeing of old stored route.

This is needed to provide the protocols the full old route after filters
when export table is enabled.
This commit is contained in:
Maria Matejka
2021-03-20 21:16:12 +01:00
parent 8216ec3027
commit cee0cd148c
2 changed files with 34 additions and 26 deletions

View File

@@ -353,7 +353,7 @@ int rte_update_in(struct channel *c, const net_addr *n, rte *new, struct rte_src
int rt_reload_channel(struct channel *c);
void rt_reload_channel_abort(struct channel *c);
void rt_prune_sync(rtable *t, int all);
int rte_update_out(struct channel *c, const net_addr *n, rte *new, rte *old0, int refeed);
int rte_update_out(struct channel *c, const net_addr *n, rte *new, rte *old, rte **old_exported, int refeed);
struct rtable_config *rt_new_table(struct symbol *s, uint addr_type);