diff options
| author | Christian Hopps <chopps@labn.net> | 2023-11-01 09:08:24 -0400 |
|---|---|---|
| committer | Christian Hopps <chopps@labn.net> | 2023-12-28 18:17:24 +0000 |
| commit | d0f71a90da50da4869c0e13fcf869c4140da61fb (patch) | |
| tree | d19f42f104178c3b7130cc8dbca9302d6dd34062 /zebra/main.c | |
| parent | c521d45b37303a73efd99c42ebab20c504c7a6d0 (diff) | |
zebra: fix cleanup of mgmt backend state
Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'zebra/main.c')
| -rw-r--r-- | zebra/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/zebra/main.c b/zebra/main.c index be3b22590e..b0a5a23284 100644 --- a/zebra/main.c +++ b/zebra/main.c @@ -145,7 +145,9 @@ static void sigint(void) zlog_notice("Terminating on signal"); + nb_oper_cancel_all_walks(); mgmt_be_client_destroy(mgmt_be_client); + mgmt_be_client = NULL; atomic_store_explicit(&zrouter.in_shutdown, true, memory_order_relaxed); |
