From 0945d5ed01a8a16e7f3be7ec15a640a2c61bc49f Mon Sep 17 00:00:00 2001 From: Philippe Guibert Date: Tue, 26 Mar 2019 14:29:13 +0100 Subject: 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 --- ospfd/ospf_bfd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ospfd/ospf_bfd.c') diff --git a/ospfd/ospf_bfd.c b/ospfd/ospf_bfd.c index 6bff5b8ddb..c8ad6d04f4 100644 --- a/ospfd/ospf_bfd.c +++ b/ospfd/ospf_bfd.c @@ -156,7 +156,7 @@ static int ospf_bfd_nbr_replay(ZAPI_CALLBACK_ARGS) } /* Send the client registration */ - bfd_client_sendmsg(zclient, ZEBRA_BFD_CLIENT_REGISTER); + bfd_client_sendmsg(zclient, ZEBRA_BFD_CLIENT_REGISTER, vrf_id); /* Replay the neighbor, if BFD is enabled in OSPF */ for (ALL_LIST_ELEMENTS(om->ospf, node, onode, ospf)) { -- cgit v1.2.3