]> git.proxmox.com Git - mirror_frr.git/blobdiff - ospfd/ospf_sr.c
*: Replace hash_cmp function return value to a bool
[mirror_frr.git] / ospfd / ospf_sr.c
index d793735003b25a72d1a336d30e41989754eff783..e0295d29c1200ab5861d52017079fc22e9a806ff 100644 (file)
@@ -94,7 +94,7 @@ static unsigned int sr_hash(void *p)
 }
 
 /* Compare 2 Router ID hash entries based on SR Node */
-static int sr_cmp(const void *p1, const void *p2)
+static bool sr_cmp(const void *p1, const void *p2)
 {
        const struct sr_node *srn = p1;
        const struct in_addr *rid = p2;