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

BFD notifications respect protocol loop settings

This commit is contained in:
Maria Matejka
2023-02-07 15:14:40 +01:00
parent 958bb84f77
commit 6543303ad4
6 changed files with 58 additions and 18 deletions

View File

@@ -543,7 +543,7 @@ rip_update_bfd(struct rip_proto *p, struct rip_neighbor *n)
ip_addr saddr = rip_is_v2(p) ? n->ifa->sk->saddr : n->nbr->ifa->ip;
n->bfd_req = bfd_request_session(p->p.pool, n->nbr->addr, saddr,
n->nbr->iface, p->p.vrf,
rip_bfd_notify, n, NULL);
rip_bfd_notify, n, p->p.loop, NULL);
}
if (!use_bfd && n->bfd_req)