summaryrefslogtreecommitdiff
path: root/bgpd/bgp_damp.h
diff options
context:
space:
mode:
authorIgor Ryzhov <iryzhov@nfware.com>2021-08-02 13:01:06 +0300
committerIgor Ryzhov <iryzhov@nfware.com>2021-08-03 21:54:47 +0300
commit5c8846f6e8971f942447ad2d177e8c3cf1a2433d (patch)
tree4157bb702ea2428fc742265f38d65259b0415de5 /bgpd/bgp_damp.h
parent2dcaf1814998065ef6128a4b5d56d4831b97dd7c (diff)
Revert "bgpd: cleanup bgp_damp_info_free"
This reverts commit 97766ac8aa40ff8868a854ba8515c9e6441e4b7c.
Diffstat (limited to 'bgpd/bgp_damp.h')
-rw-r--r--bgpd/bgp_damp.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/bgpd/bgp_damp.h b/bgpd/bgp_damp.h
index fc03b97c13..2e41d2fbda 100644
--- a/bgpd/bgp_damp.h
+++ b/bgpd/bgp_damp.h
@@ -145,7 +145,9 @@ extern int bgp_damp_withdraw(struct bgp_path_info *path, struct bgp_dest *dest,
afi_t afi, safi_t safi, int attr_change);
extern int bgp_damp_update(struct bgp_path_info *path, struct bgp_dest *dest,
afi_t afi, safi_t saff);
-extern void bgp_damp_info_free(struct bgp_damp_info *bdi, int withdraw);
+extern void bgp_damp_info_free(struct bgp_damp_info *bdi,
+ 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_config_clean(struct bgp_damp_config *bdc);