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

Preexport: No route modification, no linpool needed

This commit is contained in:
Maria Matejka
2020-04-12 21:54:20 +02:00
committed by Maria Matejka
parent cee0cd148c
commit d5a32563df
10 changed files with 20 additions and 24 deletions

View File

@@ -154,7 +154,7 @@ rt_show_net(struct cli *c, net *n, struct rt_show_data *d)
else if (d->export_mode)
{
struct proto *ep = ec->proto;
int ic = ep->preexport ? ep->preexport(ep, &e, c->show_pool) : 0;
int ic = ep->preexport ? ep->preexport(ep, e) : 0;
if (ec->ra_mode == RA_OPTIMAL || ec->ra_mode == RA_MERGED)
pass = 1;