]> git.proxmox.com Git - mirror_frr.git/blobdiff - zebra/router-id.c
*: change interface structure, from vrf_id to vrf
[mirror_frr.git] / zebra / router-id.c
index 569ffbab411f80fd0bcf0ace9680a09e63993d87..b5a8860c43daf08ab67123f11356fd17b64017e8 100644 (file)
@@ -122,7 +122,7 @@ void router_id_add_address(struct connected *ifc)
        struct prefix before;
        struct prefix after;
        struct zserv *client;
-       struct zebra_vrf *zvrf = vrf_info_get(ifc->ifp->vrf_id);
+       struct zebra_vrf *zvrf = vrf_info_get(vrf_to_id(ifc->ifp->vrf));
 
        if (router_id_bad_address(ifc))
                return;
@@ -154,7 +154,7 @@ void router_id_del_address(struct connected *ifc)
        struct prefix before;
        struct listnode *node;
        struct zserv *client;
-       struct zebra_vrf *zvrf = vrf_info_get(ifc->ifp->vrf_id);
+       struct zebra_vrf *zvrf = vrf_info_get(vrf_to_id(ifc->ifp->vrf));
 
        if (router_id_bad_address(ifc))
                return;