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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user