From 9d3fc3062b236f51b2c72a4c2c7b068f1946261d Mon Sep 17 00:00:00 2001 From: "Ondrej Zajicek (work)" Date: Sun, 8 Nov 2020 15:33:22 +0100 Subject: BFD: Allow per-request session options BFD session options are configured per interface in BFD protocol. This patch allows to specify them also per-request in protocols requesting sessions (currently limited to BGP). --- proto/static/static.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'proto/static') diff --git a/proto/static/static.c b/proto/static/static.c index 72b14991..16a981ed 100644 --- a/proto/static/static.c +++ b/proto/static/static.c @@ -161,7 +161,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); + static_bfd_notify, r, NULL); } if (!bfd_up && r->bfd_req) -- cgit v1.2.3