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

@ -98,9 +98,9 @@ pipe_rt_notify(struct proto *P, struct channel *src_ch, net *n, rte *new, rte *o
}
static int
pipe_preexport(struct proto *P, rte **ee, struct linpool *p UNUSED)
pipe_preexport(struct proto *P, rte *e)
{
struct proto *pp = (*ee)->sender->proto;
struct proto *pp = e->sender->proto;
if (pp == P)
return -1; /* Avoid local loops automatically */