summaryrefslogtreecommitdiff
path: root/bgpd/bgp_clist.h
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2018-04-16 17:22:41 -0400
committerQuentin Young <qlyoung@cumulusnetworks.com>2018-04-17 13:58:24 -0400
commit7298a8e105b57925358cf90cd80a7037e5f83b93 (patch)
tree91e1997b7b10d7fa9daa22cd0b54ce2991ffba25 /bgpd/bgp_clist.h
parent0e9f8d2d8637b86889fc82ecca60d1b23bdfccfd (diff)
bgpd: clean up clist management logic
* Remove unused parameter * Restore behavior described by function comment * Eliminate NPD caught by static analysis Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'bgpd/bgp_clist.h')
-rw-r--r--bgpd/bgp_clist.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/bgpd/bgp_clist.h b/bgpd/bgp_clist.h
index 0dbde2a453..9efb34d7b9 100644
--- a/bgpd/bgp_clist.h
+++ b/bgpd/bgp_clist.h
@@ -133,13 +133,13 @@ extern int community_list_set(struct community_list_handler *ch,
int style);
extern int community_list_unset(struct community_list_handler *ch,
const char *name, const char *str, int direct,
- int style, int delete_all);
+ int style);
extern int extcommunity_list_set(struct community_list_handler *ch,
const char *name, const char *str, int direct,
int style);
extern int extcommunity_list_unset(struct community_list_handler *ch,
const char *name, const char *str,
- int direct, int style, int delete_all);
+ int direct, int style);
extern int lcommunity_list_set(struct community_list_handler *ch,
const char *name, const char *str, int direct,
int style);