diff options
| author | sudhanshukumar22 <sudhanshu.kumar@broadcom.com> | 2020-11-02 22:36:31 -0800 | 
|---|---|---|
| committer | Donatas Abraitis <donatas@opensourcerouting.org> | 2024-05-03 09:29:40 +0300 | 
| commit | debe0f528ceb11b2bb2bc4a9fe080cecb6f23554 (patch) | |
| tree | 2034a29862287ef5287a50412bd1f6eccdf23267 /bgpd/bgp_damp.h | |
| parent | b29ef1082daa3e03959c530d848881ae038dafe4 (diff) | |
bgpd: clear ip bgp dampening was not triggering the route calculation for the prefix
Description:
    clear ip bgp dampening was not triggering the route
    calculation for the prefix, Due to this prefix are not install in
    RIB(Zebra) and not adv to neighbor
Problem Description/Summary :
    clear ip bgp dampening was not triggering the route
    calculation for the prefix, Due to this prefix are not install in
    RIB(Zebra) and not adv to neighbor
    Fix: When clear ip bgp dampening, route are put for route-calculation as
    that it is install in the Zebra and adv to neighbor.
Signed-off-by: sudhanshukumar22 <sudhanshu.kumar@broadcom.com>
Diffstat (limited to 'bgpd/bgp_damp.h')
| -rw-r--r-- | bgpd/bgp_damp.h | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/bgpd/bgp_damp.h b/bgpd/bgp_damp.h index 0e99d21d62..ae057a01f7 100644 --- a/bgpd/bgp_damp.h +++ b/bgpd/bgp_damp.h @@ -136,8 +136,8 @@ extern int bgp_damp_update(struct bgp_path_info *path, struct bgp_dest *dest,  extern void bgp_damp_info_free(struct bgp_damp_info **path,  			       struct bgp_damp_config *bdc, int withdraw,  			       afi_t afi, safi_t safi); -extern void bgp_damp_info_clean(struct bgp_damp_config *bdc, afi_t afi, -				safi_t safi); +extern void bgp_damp_info_clean(struct bgp *bgp, struct bgp_damp_config *bdc, +				afi_t afi, safi_t safi);  extern void bgp_damp_config_clean(struct bgp_damp_config *bdc);  extern int bgp_damp_decay(time_t tdiff, int penalty,  			  struct bgp_damp_config *bdc);  | 
