summaryrefslogtreecommitdiff
path: root/bgpd/bgp_damp.h
diff options
context:
space:
mode:
authorIgor Ryzhov <iryzhov@nfware.com>2021-08-02 13:05:22 +0300
committerIgor Ryzhov <iryzhov@nfware.com>2021-08-03 21:54:47 +0300
commit003cae8534b317500724b3c222f73125398a2af3 (patch)
treeb4a55c29bf36993c3679365946b0daf309320984 /bgpd/bgp_damp.h
parent22632386acdb9b77a956c03f1115ffb4b358d409 (diff)
Revert "bgpd: clear ip bgp dampening was not triggering the route calculation for the prefix"
This reverts commit c8ddbd48040be6bf33c4f0ab3e470f290f9b165a.
Diffstat (limited to 'bgpd/bgp_damp.h')
-rw-r--r--bgpd/bgp_damp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/bgpd/bgp_damp.h b/bgpd/bgp_damp.h
index c03a0cc5c9..1e0f249a47 100644
--- a/bgpd/bgp_damp.h
+++ b/bgpd/bgp_damp.h
@@ -151,8 +151,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 *bgp, struct bgp_damp_config *bdc,
- 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_config_clean(struct bgp_damp_config *bdc);
extern int bgp_damp_decay(time_t, int, struct bgp_damp_config *damp);
extern void bgp_config_write_damp(struct vty *vty, struct bgp *bgp, afi_t afi,