summaryrefslogtreecommitdiff
path: root/proto/bgp/bgp.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/bgp/bgp.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/bgp/bgp.c')
-rw-r--r--proto/bgp/bgp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/bgp/bgp.c b/proto/bgp/bgp.c
index 3d59a31b..e40a6266 100644
--- a/proto/bgp/bgp.c
+++ b/proto/bgp/bgp.c
@@ -1084,7 +1084,7 @@ bgp_update_bfd(struct bgp_proto *p, int use_bfd)
if (use_bfd && !p->bfd_req)
p->bfd_req = bfd_request_session(p->p.pool, p->cf->remote_ip, p->source_addr,
p->cf->multihop ? NULL : p->neigh->iface,
- bgp_bfd_notify, p);
+ p->p.vrf, bgp_bfd_notify, p);
if (!use_bfd && p->bfd_req)
{