]> git.proxmox.com Git - mirror_frr.git/blobdiff - bgpd/bgp_community.h
*: Replace hash_cmp function return value to a bool
[mirror_frr.git] / bgpd / bgp_community.h
index 61af9f038ca88351f5f781f889c7cb9168be1476..afb9876f29f00164a2797667a6a7d69adb7460cc 100644 (file)
@@ -77,7 +77,8 @@ extern char *community_str(struct community *, bool make_json);
 extern unsigned int community_hash_make(struct community *);
 extern struct community *community_str2com(const char *);
 extern int community_match(const struct community *, const struct community *);
-extern int community_cmp(const struct community *, const struct community *);
+extern bool community_cmp(const struct community *c1,
+                         const struct community *c2);
 extern struct community *community_merge(struct community *,
                                         struct community *);
 extern struct community *community_delete(struct community *,