diff options
author | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-04-16 23:22:41 +0200 |
---|---|---|
committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-04-17 19:58:24 +0200 |
commit | 7298a8e105b57925358cf90cd80a7037e5f83b93 (patch) | |
tree | 91e1997b7b10d7fa9daa22cd0b54ce2991ffba25 /bgpd/bgp_clist.h | |
parent | ospf6d: handle realloc() failure in lsa test (diff) | |
download | frr-7298a8e105b57925358cf90cd80a7037e5f83b93.tar.xz frr-7298a8e105b57925358cf90cd80a7037e5f83b93.zip |
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.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bgpd/bgp_clist.h b/bgpd/bgp_clist.h index 0dbde2a45..9efb34d7b 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); |