summaryrefslogtreecommitdiffstats
path: root/pimd
diff options
context:
space:
mode:
Diffstat (limited to 'pimd')
-rw-r--r--pimd/pimd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pimd/pimd.c b/pimd/pimd.c
index 656b00057..889a83a13 100644
--- a/pimd/pimd.c
+++ b/pimd/pimd.c
@@ -127,8 +127,6 @@ void pim_terminate(void)
{
struct zclient *zclient;
- pim_free();
-
/* reverse prefix_list_init */
prefix_list_add_hook(NULL);
prefix_list_delete_hook(NULL);
@@ -142,6 +140,8 @@ void pim_terminate(void)
zclient_free(zclient);
}
+ pim_free();
pim_router_terminate();
+
frr_fini();
}