diff options
author | Maria Matejka <mq@jmq.cz> | 2020-04-12 21:54:20 +0200 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2021-10-13 19:09:04 +0200 |
commit | d5a32563df1653952937117133f09143929ff0c2 (patch) | |
tree | 215631e21d2db6e97a77d01f51ca8fa8639a8d3f /nest/rt-table.c | |
parent | cee0cd148c9b71bf47d007c850193b5fbf9486c1 (diff) |
Preexport: No route modification, no linpool needed
Diffstat (limited to 'nest/rt-table.c')
-rw-r--r-- | nest/rt-table.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nest/rt-table.c b/nest/rt-table.c index b1e3ab70..eb306227 100644 --- a/nest/rt-table.c +++ b/nest/rt-table.c @@ -605,7 +605,7 @@ export_filter_(struct channel *c, rte *rt0, rte **rt_free, linpool *pool, int si rt = rt0; *rt_free = NULL; - v = p->preexport ? p->preexport(p, &rt, pool) : 0; + v = p->preexport ? p->preexport(p, rt) : 0; if (v < 0) { if (silent) @@ -1605,7 +1605,7 @@ rt_examine(rtable *t, net_addr *a, struct proto *p, const struct filter *filter) rte_update_lock(); /* Rest is stripped down export_filter() */ - int v = p->preexport ? p->preexport(p, &rt, rte_update_pool) : 0; + int v = p->preexport ? p->preexport(p, rt) : 0; if (v == RIC_PROCESS) { rte_make_tmp_attrs(&rt, rte_update_pool, NULL); |