]> git.proxmox.com Git - mirror_frr.git/commitdiff
bgpd: Fix typo in bgp_aggr_community_hash_alloc()
authorDonatas Abraitis <donatas.abraitis@gmail.com>
Tue, 21 Dec 2021 19:18:17 +0000 (21:18 +0200)
committerDonatas Abraitis <donatas.abraitis@gmail.com>
Tue, 21 Dec 2021 19:18:17 +0000 (21:18 +0200)
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
bgpd/bgp_community.c

index b187fd973656bd4df1326af015394c850ffd6fa6..a5dafd7757f64e334d71afe2ded03638c1f16622 100644 (file)
@@ -921,7 +921,7 @@ static struct community *bgp_aggr_community_lookup(
        return hash_lookup(aggregate->community_hash, community);
 }
 
-static void *bgp_aggr_communty_hash_alloc(void *p)
+static void *bgp_aggr_community_hash_alloc(void *p)
 {
        struct community *ref = (struct community *)p;
        struct community *community = NULL;
@@ -978,7 +978,7 @@ void bgp_compute_aggregate_community_hash(struct bgp_aggregate *aggregate,
                /* Insert community into hash.
                 */
                aggr_community = hash_get(aggregate->community_hash, community,
-                                         bgp_aggr_communty_hash_alloc);
+                                         bgp_aggr_community_hash_alloc);
        }
 
        /* Increment reference counter.