summaryrefslogtreecommitdiff
path: root/bgpd/bgp_community.h
diff options
context:
space:
mode:
authorSri Mohana Singamsetty <msingamsetty@vmware.com>2018-10-22 12:58:39 -0700
committerSri Mohana Singamsetty <msingamsetty@vmware.com>2018-10-23 09:52:32 -0700
commit3c1f53dee9a4edc36fa52eedcea08b2ea36445ae (patch)
tree27ab2ed36dab6c37afafdaec66a4946443d47589 /bgpd/bgp_community.h
parent9a2deb2473f7d337f472792308a41c52b7feb6e2 (diff)
bgpd:Fixing the signature of community_free function
community_free, lcommunity_free and ecommunity_free are similar type of functions. Most of the places, these three are called together. The signature of community_free is different from other two functions. Modified the community_free API signature to align with other two functions to avoid any confusion. There is no functionality impact with this and this is just to avoid any confusion. Testing: manual testing and show commands Signed-off-by: Sri Mohana Singamsetty msingamsetty@vmware.com
Diffstat (limited to 'bgpd/bgp_community.h')
-rw-r--r--bgpd/bgp_community.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_community.h b/bgpd/bgp_community.h
index 61af9f038c..9cc2321e48 100644
--- a/bgpd/bgp_community.h
+++ b/bgpd/bgp_community.h
@@ -68,7 +68,7 @@ struct community {
/* Prototypes of communities attribute functions. */
extern void community_init(void);
extern void community_finish(void);
-extern void community_free(struct community *);
+extern void community_free(struct community **comm);
extern struct community *community_uniq_sort(struct community *);
extern struct community *community_parse(uint32_t *, unsigned short);
extern struct community *community_intern(struct community *);