summaryrefslogtreecommitdiff
path: root/pimd/pim_bfd.c
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2019-03-26 14:29:13 +0100
committerPhilippe Guibert <philippe.guibert@6wind.com>2019-05-07 15:53:07 +0200
commit0945d5ed01a8a16e7f3be7ec15a640a2c61bc49f (patch)
treec2f16c26bf25dfd33bfb691c5dbecfec2d1eb587 /pimd/pim_bfd.c
parent54aadda13d7d2ff7edaae4128f0bf027abb3a711 (diff)
bgp, ospfd, ospf6d, pimd, lib, isisd: add bfd_client_sendmsg vrf_id
vrf_id parameter is added to the api of bfd_client_sendmsg(). this permits being registered to bfd from a separate vrf. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'pimd/pim_bfd.c')
-rw-r--r--pimd/pim_bfd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pimd/pim_bfd.c b/pimd/pim_bfd.c
index 82087c4c56..300261e5a9 100644
--- a/pimd/pim_bfd.c
+++ b/pimd/pim_bfd.c
@@ -297,7 +297,7 @@ static int pim_bfd_nbr_replay(ZAPI_CALLBACK_ARGS)
struct vrf *vrf = NULL;
/* Send the client registration */
- bfd_client_sendmsg(zclient, ZEBRA_BFD_CLIENT_REGISTER);
+ bfd_client_sendmsg(zclient, ZEBRA_BFD_CLIENT_REGISTER, vrf_id);
RB_FOREACH (vrf, vrf_name_head, &vrfs_by_name) {
FOR_ALL_INTERFACES (vrf, ifp) {