summaryrefslogtreecommitdiff
path: root/zebra/main.c
diff options
context:
space:
mode:
authorSantosh P K <sapk@vmware.com>2020-01-09 09:53:27 -0800
committerSantosh P K <sapk@vmware.com>2020-01-31 03:36:37 -0800
commitb9e6727acd3b86a196d8bedc06e61b0b3ba8c47b (patch)
treeb3191ec08a0878dbf57c8857605fa8b87a536a8e /zebra/main.c
parent851140a7bb5a978d4ef59ffa532c99767004a0b8 (diff)
zebra: Capabality and stale route handling for GR client.
Handling capability received from client. It may contain GR enable/disable, Stale time changes, RIB update complete for given AFi, ASAFI and instance. It also has changes for stale route handling. Signed-off-by: Santosh P K <sapk@vmware.com>
Diffstat (limited to 'zebra/main.c')
-rw-r--r--zebra/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/zebra/main.c b/zebra/main.c
index 75f825e507..f23702d878 100644
--- a/zebra/main.c
+++ b/zebra/main.c
@@ -151,6 +151,10 @@ static void sigint(void)
zebra_dplane_pre_finish();
+ /* Clean up GR related info. */
+ zebra_gr_stale_client_cleanup(zrouter.stale_client_list);
+ list_delete_all_node(zrouter.stale_client_list);
+
for (ALL_LIST_ELEMENTS(zrouter.client_list, ln, nn, client))
zserv_close_client(client);