summaryrefslogtreecommitdiffstats
path: root/lib/bfd.h
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 /lib/bfd.h
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 'lib/bfd.h')
-rw-r--r--lib/bfd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bfd.h b/lib/bfd.h
index 31eb4ad9a..b001ae967 100644
--- a/lib/bfd.h
+++ b/lib/bfd.h
@@ -82,7 +82,7 @@ bfd_get_command_dbg_str(int command);
extern struct interface *
bfd_get_peer_info (struct stream *s, struct prefix *dp, struct prefix *sp,
- int *status);
+ int *status, vrf_id_t vrf_id);
const char *
bfd_get_status_str(int status);