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_static.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pimd/pim_static.c') diff --git a/pimd/pim_static.c b/pimd/pim_static.c index 63a9a0065..be06a25be 100644 --- a/pimd/pim_static.c +++ b/pimd/pim_static.c @@ -92,7 +92,7 @@ int pim_static_add(struct pim_instance *pim, struct interface *iif, return -4; } #endif - if (iif->vrf_id != oif->vrf_id) { + if (iif->vrf->vrf_id != oif->vrf->vrf_id) { return -3; } -- cgit v1.2.3