summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_bfd.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2016-03-24 14:03:02 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-03-24 14:03:02 +0100
commit1e22a2af507e0a51236d250e57145659754f81bb (patch)
tree36ef56cfaa79f375a10a7db7cab83187c867559b /bgpd/bgp_bfd.c
parentbgpd, lib, zebra: Add ability to retrieve ifp without specifying a vrf (diff)
downloadfrr-1e22a2af507e0a51236d250e57145659754f81bb.tar.xz
frr-1e22a2af507e0a51236d250e57145659754f81bb.zip
bgpd, lib, ospfd, ospf6d: Fix bfd interface lookup
bfd was receiving a callback with an interface name string but was ignoring the passed in vrf to find the ifp pointer. This commit fixes that code path in bfd. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com> Reviewed-by: Radhika Mahankali <radhika@cumulusnetworks.com>
Diffstat (limited to 'bgpd/bgp_bfd.c')
-rw-r--r--bgpd/bgp_bfd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_bfd.c b/bgpd/bgp_bfd.c
index 3f5c4d025..118d8f64c 100644
--- a/bgpd/bgp_bfd.c
+++ b/bgpd/bgp_bfd.c
@@ -239,7 +239,7 @@ bgp_bfd_dest_update (int command, struct zclient *zclient,
struct prefix sp;
int status;
- ifp = bfd_get_peer_info (zclient->ibuf, &dp, &sp, &status);
+ ifp = bfd_get_peer_info (zclient->ibuf, &dp, &sp, &status, vrf_id);
if (BGP_DEBUG (zebra, ZEBRA))
{