diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-06-30 10:32:26 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-06-30 10:32:26 -0400 |
| commit | a2f9eb822f6fcec3896e8d9364dff7108240b61e (patch) | |
| tree | 431d0c68312f2b9faaec4389ef823c4afb60a46c /ripd/rip_zebra.c | |
| parent | 7feb9237dc6d356bbfbebdc2e98080027fdad85a (diff) | |
ripd: Fix zclient cleanup on shutdown
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'ripd/rip_zebra.c')
| -rw-r--r-- | ripd/rip_zebra.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ripd/rip_zebra.c b/ripd/rip_zebra.c index 337555b0b7..31204872ac 100644 --- a/ripd/rip_zebra.c +++ b/ripd/rip_zebra.c @@ -711,3 +711,10 @@ rip_zclient_init (struct thread_master *master) install_element (RIP_NODE, &rip_default_information_originate_cmd); install_element (RIP_NODE, &no_rip_default_information_originate_cmd); } + +void +rip_zclient_stop (void) +{ + zclient_stop (zclient); + zclient_free (zclient); +} |
