From 6543303ad4d509340643ae1f2b585f6278cf0463 Mon Sep 17 00:00:00 2001 From: Maria Matejka Date: Tue, 7 Feb 2023 15:14:40 +0100 Subject: BFD notifications respect protocol loop settings --- proto/static/static.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'proto/static/static.c') diff --git a/proto/static/static.c b/proto/static/static.c index 82fbfe7a..86142790 100644 --- a/proto/static/static.c +++ b/proto/static/static.c @@ -213,7 +213,7 @@ static_update_bfd(struct static_proto *p, struct static_route *r) // ip_addr local = ipa_nonzero(r->local) ? r->local : nb->ifa->ip; r->bfd_req = bfd_request_session(p->p.pool, r->via, nb->ifa->ip, nb->iface, p->p.vrf, - static_bfd_notify, r, NULL); + static_bfd_notify, r, p->p.loop, NULL); } if (!bfd_up && r->bfd_req) -- cgit v1.2.3