diff options
author | Kaushik <kaushik@niralnetworks.com> | 2020-06-19 20:46:12 +0200 |
---|---|---|
committer | Kaushik <kaushik@niralnetworks.com> | 2020-06-19 20:46:12 +0200 |
commit | dc18b3b03223fb83b6027873bd93795041e9a15a (patch) | |
tree | b845e27f80c69f009870954ea86d722123abdecb /isisd/isis_route.c | |
parent | Merge pull request #6615 from opensourcerouting/build-assorted-20200619 (diff) | |
download | frr-dc18b3b03223fb83b6027873bd93795041e9a15a.tar.xz frr-dc18b3b03223fb83b6027873bd93795041e9a15a.zip |
ISIS VRF: Route info with vrf_id from ISIS to Zebra
1. The "VRF_DEFAULT" param is changed to "isis->vrf_id" before
sending the routes to zebra.
Signed-off-by: Kaushik <kaushik@niralnetworks.com>
Diffstat (limited to 'isisd/isis_route.c')
-rw-r--r-- | isisd/isis_route.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/isisd/isis_route.c b/isisd/isis_route.c index fa6af6c21..ffb5bdb35 100644 --- a/isisd/isis_route.c +++ b/isisd/isis_route.c @@ -355,7 +355,7 @@ static void isis_route_update(struct isis_area *area, struct prefix *prefix, if (CHECK_FLAG(route_info->flag, ISIS_ROUTE_FLAG_ZEBRA_SYNCED)) return; - isis_zebra_route_add_route(prefix, src_p, route_info); + isis_zebra_route_add_route(area->isis, prefix, src_p, route_info); hook_call(isis_route_update_hook, area, prefix, route_info); SET_FLAG(route_info->flag, ISIS_ROUTE_FLAG_ZEBRA_SYNCED); @@ -364,7 +364,7 @@ static void isis_route_update(struct isis_area *area, struct prefix *prefix, if (!CHECK_FLAG(route_info->flag, ISIS_ROUTE_FLAG_ZEBRA_SYNCED)) return; - isis_zebra_route_del_route(prefix, src_p, route_info); + isis_zebra_route_del_route(area->isis, prefix, src_p, route_info); hook_call(isis_route_update_hook, area, prefix, route_info); UNSET_FLAG(route_info->flag, ISIS_ROUTE_FLAG_ZEBRA_SYNCED); |