summaryrefslogtreecommitdiffstats
path: root/pimd/pim_bfd.c
diff options
context:
space:
mode:
authorIgor Ryzhov <iryzhov@nfware.com>2021-10-22 00:17:40 +0200
committerIgor Ryzhov <iryzhov@nfware.com>2021-11-22 18:47:23 +0100
commit096f7609f9168ad1a2503acad31d3afc8f00f9e5 (patch)
tree7acf9cbf0f944b032da6a796fcf8d7f6a06fe90a /pimd/pim_bfd.c
parentMerge pull request #10057 from ton31337/fix/we_shouldn_send_LLA_for_RS (diff)
downloadfrr-096f7609f9168ad1a2503acad31d3afc8f00f9e5.tar.xz
frr-096f7609f9168ad1a2503acad31d3afc8f00f9e5.zip
*: 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 <iryzhov@nfware.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 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);
}