From 69a211cb69022a8ac6ce3de0919ea2bbb108789b Mon Sep 17 00:00:00 2001 From: Donatas Abraitis Date: Tue, 21 Dec 2021 21:18:17 +0200 Subject: [PATCH] bgpd: Fix typo in bgp_aggr_community_hash_alloc() Signed-off-by: Donatas Abraitis --- bgpd/bgp_community.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bgpd/bgp_community.c b/bgpd/bgp_community.c index b187fd9736..a5dafd7757 100644 --- a/bgpd/bgp_community.c +++ b/bgpd/bgp_community.c @@ -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. -- 2.39.5