diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-02-09 22:38:34 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-03-27 21:19:28 +0100 |
commit | 416745628e73d8889e43bb153e365aa5225f22a5 (patch) | |
tree | d142a1c146a6fb339d301a5ed77071a13f95eb31 /zebra/zserv.h | |
parent | topotests: Add a bit more useful debugging to ldp-vpls-topo1 (diff) | |
download | frr-416745628e73d8889e43bb153e365aa5225f22a5.tar.xz frr-416745628e73d8889e43bb153e365aa5225f22a5.zip |
zebra: When shutting down actually close the socket
When shutting down and we have a very large table to shutdown
and after we've intentionally closed all the client connections
close the zebra zserv client socket.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/zserv.h')
-rw-r--r-- | zebra/zserv.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/zebra/zserv.h b/zebra/zserv.h index c4c3e1328..86863d961 100644 --- a/zebra/zserv.h +++ b/zebra/zserv.h @@ -184,6 +184,13 @@ extern unsigned int multipath_num; extern void zserv_init(void); /* + * Stop the Zebra API server. + * + * closes the socket + */ +extern void zserv_close(void); + +/* * Start Zebra API server. * * Allocates resources, creates the server socket and begins listening on the |