diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-03-24 14:03:02 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-03-24 14:03:02 +0100 |
commit | 1e22a2af507e0a51236d250e57145659754f81bb (patch) | |
tree | 36ef56cfaa79f375a10a7db7cab83187c867559b /ospf6d | |
parent | bgpd, lib, zebra: Add ability to retrieve ifp without specifying a vrf (diff) | |
download | frr-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 'ospf6d')
-rw-r--r-- | ospf6d/ospf6_bfd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ospf6d/ospf6_bfd.c b/ospf6d/ospf6_bfd.c index f44dd5c0e..f14571d1f 100644 --- a/ospf6d/ospf6_bfd.c +++ b/ospf6d/ospf6_bfd.c @@ -206,7 +206,7 @@ ospf6_bfd_interface_dest_update (int command, struct zclient *zclient, struct bfd_info *bfd_info; struct timeval tv; - ifp = bfd_get_peer_info(zclient->ibuf, &dp, &sp, &status); + ifp = bfd_get_peer_info(zclient->ibuf, &dp, &sp, &status, vrf_id); if ((ifp == NULL) || (dp.family != AF_INET6)) return 0; |