]> git.proxmox.com Git - mirror_frr.git/blobdiff - isisd/fabricd.c
zebra: Fix label manager memory leak (#5680)
[mirror_frr.git] / isisd / fabricd.c
index 96af28f0a1cc2037cb5a9ed9778257246cbb0b38..b9c27d51bd89d0dc6aeac9fe32b98844cc500f0b 100644 (file)
@@ -108,9 +108,9 @@ static void neighbor_lists_clear(struct fabricd *f)
        hash_clean(f->neighbors_neighbors, neighbor_entry_del_void);
 }
 
-static unsigned neighbor_entry_hash_key(void *np)
+static unsigned neighbor_entry_hash_key(const void *np)
 {
-       struct neighbor_entry *n = np;
+       const struct neighbor_entry *n = np;
 
        return jhash(n->id, sizeof(n->id), 0x55aa5a5a);
 }