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

Merge commit 'beb5f78a' into backport

This commit is contained in:
Maria Matejka
2022-07-11 10:41:17 +02:00
11 changed files with 23 additions and 22 deletions

View File

@@ -97,11 +97,11 @@ pipe_rt_notify(struct proto *P, struct channel *src_ch, net *n, rte *new, rte *o
}
static int
pipe_preexport(struct proto *P, rte *e)
pipe_preexport(struct channel *C, rte *e)
{
struct proto *pp = e->sender->proto;
if (pp == P)
if (pp == C->proto)
return -1; /* Avoid local loops automatically */
return 0;