diff options
| author | Donatas Abraitis <donatas.abraitis@gmail.com> | 2021-12-21 21:18:17 +0200 | 
|---|---|---|
| committer | Donatas Abraitis <donatas.abraitis@gmail.com> | 2021-12-21 21:18:17 +0200 | 
| commit | 69a211cb69022a8ac6ce3de0919ea2bbb108789b (patch) | |
| tree | 542a63c1f357f23326981111fe74fec720595a41 /bgpd/bgp_community.c | |
| parent | a20b63bf64b713b1f4c9eee4b15671ba9a124bbb (diff) | |
bgpd: Fix typo in bgp_aggr_community_hash_alloc()
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
Diffstat (limited to 'bgpd/bgp_community.c')
| -rw-r--r-- | bgpd/bgp_community.c | 4 | 
1 files 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.  | 
