diff options
| author | Madhuri Kuruganti <maduri111@gmail.com> | 2022-09-19 03:53:20 +0530 | 
|---|---|---|
| committer | Madhuri Kuruganti <maduri111@gmail.com> | 2022-10-12 13:43:55 +0530 | 
| commit | bba9435157515689cb752e1ff9ac18a44f08b73a (patch) | |
| tree | 1a134af8a8b42803a24c1bea7ac49940ef179326 /ospfd/ospf_spf.c | |
| parent | 5fcf01c9ae0b9c595c883ad1ca80ccb0c4516b1d (diff) | |
bgpd, ospfd: update BGP when routes are removed from OSPF routing table
Signed-off-by: Madhuri Kuruganti <maduri111@gmail.com>
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 467ec76090..74213d7de2 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() */  }  | 
