diff options
author | Philippe Guibert <philippe.guibert@6wind.com> | 2019-03-26 14:29:13 +0100 |
---|---|---|
committer | Philippe Guibert <philippe.guibert@6wind.com> | 2019-05-07 15:53:07 +0200 |
commit | 0945d5ed01a8a16e7f3be7ec15a640a2c61bc49f (patch) | |
tree | c2f16c26bf25dfd33bfb691c5dbecfec2d1eb587 /isisd/isis_bfd.c | |
parent | bfdd: register to interfaces from other vrfs (diff) | |
download | frr-0945d5ed01a8a16e7f3be7ec15a640a2c61bc49f.tar.xz frr-0945d5ed01a8a16e7f3be7ec15a640a2c61bc49f.zip |
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 'isisd/isis_bfd.c')
-rw-r--r-- | isisd/isis_bfd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/isisd/isis_bfd.c b/isisd/isis_bfd.c index a98c44eeb..fccef0169 100644 --- a/isisd/isis_bfd.c +++ b/isisd/isis_bfd.c @@ -139,7 +139,7 @@ static int isis_bfd_interface_dest_update(ZAPI_CALLBACK_ARGS) static int isis_bfd_nbr_replay(ZAPI_CALLBACK_ARGS) { - bfd_client_sendmsg(zclient, ZEBRA_BFD_CLIENT_REGISTER); + bfd_client_sendmsg(zclient, ZEBRA_BFD_CLIENT_REGISTER, vrf_id); struct listnode *anode; struct isis_area *area; @@ -167,7 +167,7 @@ static void isis_bfd_zebra_connected(struct zclient *zclient) if (orig_zebra_connected) orig_zebra_connected(zclient); - bfd_client_sendmsg(zclient, ZEBRA_BFD_CLIENT_REGISTER); + bfd_client_sendmsg(zclient, ZEBRA_BFD_CLIENT_REGISTER, VRF_DEFAULT); } static void bfd_debug(struct in_addr *dst, struct in_addr *src, |