diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-01-24 14:06:34 +0100 |
---|---|---|
committer | Stephen Worley <sworley@cumulusnetworks.com> | 2019-10-25 17:13:35 +0200 |
commit | 69171da26264826c8875e402cbe6093d5e944b4f (patch) | |
tree | c3539954d4a77a51e698ed0f029ddbdbbaaff000 /zebra/zebra_router.c | |
parent | Merge pull request #5213 from mjstapp/fix_sysctl_h (diff) | |
download | frr-69171da26264826c8875e402cbe6093d5e944b4f.tar.xz frr-69171da26264826c8875e402cbe6093d5e944b4f.zip |
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 1e9f9e4ec..ffffa8c00 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"); } |