summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_community.h
diff options
context:
space:
mode:
authorSri Mohana Singamsetty <msingamsetty@vmware.com>2018-10-22 21:58:39 +0200
committerSri Mohana Singamsetty <msingamsetty@vmware.com>2018-10-23 18:52:32 +0200
commit3c1f53dee9a4edc36fa52eedcea08b2ea36445ae (patch)
tree27ab2ed36dab6c37afafdaec66a4946443d47589 /bgpd/bgp_community.h
parentMerge pull request #3214 from donaldsharp/ospf_crash (diff)
downloadfrr-3c1f53dee9a4edc36fa52eedcea08b2ea36445ae.tar.xz
frr-3c1f53dee9a4edc36fa52eedcea08b2ea36445ae.zip
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 61af9f038..9cc2321e4 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 *);