summaryrefslogtreecommitdiff
path: root/proto/static/static.c
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2019-07-18 02:04:42 +0200
committerOndrej Zajicek (work) <santiago@crfreenet.org>2019-07-18 02:04:42 +0200
commitf9deedf1f045d1b64edaf2f27209e5227cce155a (patch)
treecd092a8b499d79be68ee22cb5981154811ed8021 /proto/static/static.c
parent9ff6c8d83c7fee5f354d4d6ed4efc15bfc6bc7e1 (diff)
BFD: Support for VRFs
Allow multiple BFD instances in separate VRFs, dispatch BFD requests according to VRFs. Thanks to Alexander Zubkov for notice and patches.
Diffstat (limited to 'proto/static/static.c')
-rw-r--r--proto/static/static.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/static/static.c b/proto/static/static.c
index 6ddff146..9e9c07fa 100644
--- a/proto/static/static.c
+++ b/proto/static/static.c
@@ -150,7 +150,7 @@ static_update_bfd(struct proto *p, struct static_route *r)
if (bfd_up && !r->bfd_req)
{
// ip_addr local = ipa_nonzero(r->local) ? r->local : nb->ifa->ip;
- r->bfd_req = bfd_request_session(p->pool, r->via, nb->ifa->ip, nb->iface,
+ r->bfd_req = bfd_request_session(p->pool, r->via, nb->ifa->ip, nb->iface, p->vrf,
static_bfd_notify, r);
}