diff options
Diffstat (limited to 'ospfd/ospf_spf.c')
-rw-r--r-- | ospfd/ospf_spf.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/ospfd/ospf_spf.c b/ospfd/ospf_spf.c index 467ec7609..74213d7de 100644 --- a/ospfd/ospf_spf.c +++ b/ospfd/ospf_spf.c @@ -2060,7 +2060,7 @@ void ospf_orr_spf_calculate_schedule_worker(struct thread *thread) /* Update routing table. */ monotime(&start_time); - ospf_orr_route_install(root, new_table); + ospf_orr_route_install(root, new_table, ospf->instance); rt_time = monotime_since(&start_time, NULL); /* @@ -2111,13 +2111,6 @@ void ospf_orr_spf_calculate_schedule_worker(struct thread *thread) abr_time, ospf->areas->count); zlog_info("Reason(s) for SPF: %s", rbuf); } - - root->new_table = new_table; - root->new_rtrs = new_rtrs; - - /* Send IGP Metric update to BGP */ - ospf_orr_igp_metric_send_update(root, ospf->instance); - } /* ALL_LIST_ELEMENTS_RO() */ } /* FOREACH_AFI_SAFI() */ } |