summaryrefslogtreecommitdiff
path: root/zebra/zebra_router.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2019-12-04 14:11:04 -0500
committerGitHub <noreply@github.com>2019-12-04 14:11:04 -0500
commite302caaa818a2e582a98f16eaa807bc3928bf617 (patch)
treecb6561db9a055c41f910e764f8178cf31637d3ad /zebra/zebra_router.c
parent86637de7f9e93ae64e7be226a5e69e80fb0e2ae4 (diff)
parent0eb97b860dc94329cf9add9f8f3d3a2c7f539568 (diff)
Merge pull request #5416 from mjstapp/re_nhe_pointer
lib,zebra: use shared nexthop-group in route_entry
Diffstat (limited to 'zebra/zebra_router.c')
-rw-r--r--zebra/zebra_router.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra/zebra_router.c b/zebra/zebra_router.c
index e573093b70..a891ffb76a 100644
--- a/zebra/zebra_router.c
+++ b/zebra/zebra_router.c
@@ -29,7 +29,7 @@
#include "zebra_pbr.h"
#include "zebra_vxlan.h"
#include "zebra_mlag.h"
-#include "zebra_nhg_private.h"
+#include "zebra_nhg.h"
#include "debug.h"
DEFINE_MTYPE_STATIC(ZEBRA, RIB_TABLE_INFO, "RIB table info")
@@ -223,7 +223,7 @@ void zebra_router_terminate(void)
zebra_vxlan_disable();
zebra_mlag_terminate();
- hash_clean(zrouter.nhgs, zebra_nhg_free);
+ hash_clean(zrouter.nhgs, zebra_nhg_hash_free);
hash_free(zrouter.nhgs);
hash_clean(zrouter.nhgs_id, NULL);
hash_free(zrouter.nhgs_id);