diff options
Diffstat (limited to 'nest/rt-table.c')
-rw-r--r-- | nest/rt-table.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nest/rt-table.c b/nest/rt-table.c index e47e03a9..21b6622e 100644 --- a/nest/rt-table.c +++ b/nest/rt-table.c @@ -407,7 +407,7 @@ export_filter_(struct channel *c, rte *rt0, rte **rt_free, linpool *pool, int si rte_make_tmp_attrs(&rt, pool); - v = p->import_control ? p->import_control(p, &rt, pool) : 0; + v = p->preexport ? p->preexport(p, &rt, pool) : 0; if (v < 0) { if (silent) @@ -873,7 +873,7 @@ rt_notify_merged(struct channel *c, net *net, rte *new_changed, rte *old_changed * routing table @tab) changes In that case @old stores the old route * from the same protocol. * - * For each appropriate protocol, we first call its import_control() + * For each appropriate protocol, we first call its preexport() * hook which performs basic checks on the route (each protocol has a * right to veto or force accept of the route before any filter is * asked) and adds default values of attributes specific to the new @@ -1473,7 +1473,7 @@ rt_examine(rtable *t, net_addr *a, struct proto *p, struct filter *filter) /* Rest is stripped down export_filter() */ rte_make_tmp_attrs(&rt, rte_update_pool); - int v = p->import_control ? p->import_control(p, &rt, rte_update_pool) : 0; + int v = p->preexport ? p->preexport(p, &rt, rte_update_pool) : 0; if (v == RIC_PROCESS) v = (f_run(filter, &rt, rte_update_pool, FF_SILENT) <= F_ACCEPT); |