From 416745628e73d8889e43bb153e365aa5225f22a5 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Sat, 9 Feb 2019 16:38:34 -0500 Subject: 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 --- zebra/main.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'zebra/main.c') diff --git a/zebra/main.c b/zebra/main.c index c605050c57..184e798bd0 100644 --- a/zebra/main.c +++ b/zebra/main.c @@ -153,7 +153,9 @@ static void sigint(void) for (ALL_LIST_ELEMENTS(zrouter.client_list, ln, nn, client)) zserv_close_client(client); + zserv_close(); list_delete_all_node(zrouter.client_list); + zebra_ptm_finish(); if (retain_mode) -- cgit v1.2.3