]> git.proxmox.com Git - mirror_frr.git/blobdiff - zebra/zebra_router.c
Merge pull request #5793 from ton31337/fix/formatting_show_bgp_summary_failed
[mirror_frr.git] / zebra / zebra_router.c
index e573093b70d4c1b35d98d4a7c56907d105965e97..a891ffb76a2453c226039c7cb9e1f3a3ea3653c2 100644 (file)
@@ -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);