summaryrefslogtreecommitdiff
path: root/pathd/path_zebra.c
diff options
context:
space:
mode:
Diffstat (limited to 'pathd/path_zebra.c')
-rw-r--r--pathd/path_zebra.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/pathd/path_zebra.c b/pathd/path_zebra.c
index 156267a394..a98532cc39 100644
--- a/pathd/path_zebra.c
+++ b/pathd/path_zebra.c
@@ -352,3 +352,9 @@ void path_zebra_init(struct thread_master *master)
/* Connect to the LM. */
path_zebra_label_manager_connect();
}
+
+void path_zebra_stop(void)
+{
+ zclient_stop(zclient);
+ zclient_free(zclient);
+}