summaryrefslogtreecommitdiffstats
path: root/ripngd/ripng_zebra.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-06-30 16:32:01 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-06-30 16:32:01 +0200
commit7feb9237dc6d356bbfbebdc2e98080027fdad85a (patch)
tree578fec9f83d14f1cd839c846d901d022ce22e781 /ripngd/ripng_zebra.c
parentnhrpd: Fix zclient cleanup on shutdown (diff)
downloadfrr-7feb9237dc6d356bbfbebdc2e98080027fdad85a.tar.xz
frr-7feb9237dc6d356bbfbebdc2e98080027fdad85a.zip
ripngd: Fix zclient cleanup on shutdown
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'ripngd/ripng_zebra.c')
-rw-r--r--ripngd/ripng_zebra.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/ripngd/ripng_zebra.c b/ripngd/ripng_zebra.c
index 2d62823b1..465d33992 100644
--- a/ripngd/ripng_zebra.c
+++ b/ripngd/ripng_zebra.c
@@ -557,3 +557,10 @@ zebra_init (struct thread_master *master)
install_element (RIPNG_NODE, &ripng_redistribute_type_metric_routemap_cmd);
install_element (RIPNG_NODE, &no_ripng_redistribute_type_cmd);
}
+
+void
+ripng_zebra_stop (void)
+{
+ zclient_stop (zclient);
+ zclient_free (zclient);
+}