diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-06-23 19:46:39 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-06-23 19:46:39 -0400 |
| commit | a36898e7555036c786f7aa944b848966b45d5897 (patch) | |
| tree | fb34f0ca1836e09a8e89e73ebd6696a08b89b631 /zebra/router-id.c | |
| parent | a12bb225a6681b7e7eb0aac105cbc8b745675131 (diff) | |
Revert "Ospf missing interface handling 2"
Diffstat (limited to 'zebra/router-id.c')
| -rw-r--r-- | zebra/router-id.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra/router-id.c b/zebra/router-id.c index b5a8860c43..569ffbab41 100644 --- a/zebra/router-id.c +++ b/zebra/router-id.c @@ -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(vrf_to_id(ifc->ifp->vrf)); + struct zebra_vrf *zvrf = vrf_info_get(ifc->ifp->vrf_id); 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(vrf_to_id(ifc->ifp->vrf)); + struct zebra_vrf *zvrf = vrf_info_get(ifc->ifp->vrf_id); if (router_id_bad_address(ifc)) return; |
