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:
committed by
Maria Matejka
parent
cee0cd148c
commit
d5a32563df
@ -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 */
|
||||
|
Reference in New Issue
Block a user