]> git.proxmox.com Git - mirror_frr.git/blobdiff - zebra/zebra_ptm.c
*: change interface structure, from vrf_id to vrf
[mirror_frr.git] / zebra / zebra_ptm.c
index 46f138552059f6f9edfc03287cc3bc991c2ec22f..636bceb9804e568148c625f786df33c6ec24b156 100644 (file)
@@ -522,7 +522,7 @@ static int zebra_ptm_handle_bfd_msg(void *arg, void *in_ctxt,
        }
 
        if (!strcmp(ZEBRA_PTM_INVALID_VRF, vrf_str) && ifp) {
-               vrf_id = ifp->vrf_id;
+               vrf_id = vrf_to_id(ifp->vrf);
        } else {
                vrf_id = vrf_name_to_id(vrf_str);
        }