From 096f7609f9168ad1a2503acad31d3afc8f00f9e5 Mon Sep 17 00:00:00 2001 From: Igor Ryzhov Date: Fri, 22 Oct 2021 01:17:40 +0300 Subject: *: cleanup ifp->vrf_id Since f60a1188 we store a pointer to the VRF in the interface structure. There's no need anymore to store a separate vrf_id field. Signed-off-by: Igor Ryzhov --- pimd/pim_bfd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pimd/pim_bfd.c') diff --git a/pimd/pim_bfd.c b/pimd/pim_bfd.c index c7fcbba71..696544c8d 100644 --- a/pimd/pim_bfd.c +++ b/pimd/pim_bfd.c @@ -97,7 +97,7 @@ void pim_bfd_info_nbr_create(struct pim_interface *pim_ifp, pim_ifp->bfd_config.min_rx, pim_ifp->bfd_config.min_tx); bfd_sess_set_ipv4_addrs(neigh->bfd_session, NULL, &neigh->source_addr); bfd_sess_set_interface(neigh->bfd_session, neigh->interface->name); - bfd_sess_set_vrf(neigh->bfd_session, neigh->interface->vrf_id); + bfd_sess_set_vrf(neigh->bfd_session, neigh->interface->vrf->vrf_id); bfd_sess_set_profile(neigh->bfd_session, pim_ifp->bfd_config.profile); bfd_sess_install(neigh->bfd_session); } -- cgit v1.2.3