diff options
author | Maria Matejka <mq@ucw.cz> | 2021-03-20 21:16:12 +0100 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2021-10-13 19:09:04 +0200 |
commit | cee0cd148c9b71bf47d007c850193b5fbf9486c1 (patch) | |
tree | 83d46b46691d897fbb97b723f176a390bcad9788 /nest/route.h | |
parent | 8216ec3027d01b790e59a266227d378ba77a623e (diff) |
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.
Diffstat (limited to 'nest/route.h')
-rw-r--r-- | nest/route.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nest/route.h b/nest/route.h index f5fc9e31..227a5f5e 100644 --- a/nest/route.h +++ b/nest/route.h @@ -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); |