From d262695d4e8ddee7b9408bb726b4100f68d217d7 Mon Sep 17 00:00:00 2001 From: Maria Matejka Date: Wed, 2 Feb 2022 11:20:53 +0100 Subject: BFD: direct notifications to protocol loops --- proto/bgp/bgp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'proto/bgp') diff --git a/proto/bgp/bgp.c b/proto/bgp/bgp.c index 5645e424..f427ded1 100644 --- a/proto/bgp/bgp.c +++ b/proto/bgp/bgp.c @@ -1460,7 +1460,7 @@ bgp_update_bfd(struct bgp_proto *p, const struct bfd_options *bfd) if (bfd && !p->bfd_req && !bgp_is_dynamic(p)) p->bfd_req = bfd_request_session(p->p.pool, p->remote_ip, p->local_ip, p->cf->multihop ? NULL : p->neigh->iface, - p->p.vrf, bgp_bfd_notify, p, bfd); + p->p.vrf, bgp_bfd_notify, p, birdloop_event_list(p->p.loop), bfd); if (!bfd && p->bfd_req) { -- cgit v1.2.3