diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-01-24 08:06:34 -0500 | 
|---|---|---|
| committer | Stephen Worley <sworley@cumulusnetworks.com> | 2019-10-25 11:13:35 -0400 | 
| commit | 69171da26264826c8875e402cbe6093d5e944b4f (patch) | |
| tree | c3539954d4a77a51e698ed0f029ddbdbbaaff000 /zebra/zebra_router.c | |
| parent | e1a3c0effa627eb9e5d20da8782708425417f970 (diff) | |
zebra: Add hash of nexthop groups
This commit does nothing more than just create a hash structure
that we will use to track nexthop groups.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_router.c')
| -rw-r--r-- | zebra/zebra_router.c | 4 | 
1 files changed, 4 insertions, 0 deletions
diff --git a/zebra/zebra_router.c b/zebra/zebra_router.c index 1e9f9e4ec7..ffffa8c001 100644 --- a/zebra/zebra_router.c +++ b/zebra/zebra_router.c @@ -253,4 +253,8 @@ void zebra_router_init(void)  	zrouter.iptable_hash = hash_create_size(8, zebra_pbr_iptable_hash_key,  						zebra_pbr_iptable_hash_equal,  						"IPtable Hash Entry"); + +	zrouter.nhgs = +		hash_create_size(8, zebra_nhg_hash_key, zebra_nhg_hash_equal, +				 "Zebra Router Nexthop Groups");  }  | 
