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

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).
This commit is contained in:
Ondrej Zajicek (work)
2020-11-08 15:33:22 +01:00
parent fc1e3211b1
commit 9d3fc3062b
11 changed files with 137 additions and 32 deletions

View File

@@ -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)