]> git.proxmox.com Git - mirror_frr.git/blobdiff - bgpd/bgp_aspath.c
bgpd: Add various hash optimizations
[mirror_frr.git] / bgpd / bgp_aspath.c
index 4e55c5f264ae7bddcda2e9c139f56cc78e74a053..2ce52d92a5acb40d4eaa25db9216cf5192bec91f 100644 (file)
@@ -2019,7 +2019,10 @@ int aspath_cmp(const void *arg1, const void *arg2)
 /* AS path hash initialize. */
 void aspath_init(void)
 {
-       ashash = hash_create_size(32768, aspath_key_make, aspath_cmp, NULL);
+       ashash = hash_create_size(32768,
+                                 aspath_key_make,
+                                 aspath_cmp,
+                                 "BGP AS Path");
 }
 
 void aspath_finish(void)