diff options
author | Christian Hopps <chopps@labn.net> | 2023-11-01 14:08:24 +0100 |
---|---|---|
committer | Christian Hopps <chopps@labn.net> | 2023-12-28 19:17:24 +0100 |
commit | d0f71a90da50da4869c0e13fcf869c4140da61fb (patch) | |
tree | d19f42f104178c3b7130cc8dbca9302d6dd34062 /zebra/main.c | |
parent | zebra: fix oper-state walk bug (diff) | |
download | frr-d0f71a90da50da4869c0e13fcf869c4140da61fb.tar.xz frr-d0f71a90da50da4869c0e13fcf869c4140da61fb.zip |
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 be3b22590..b0a5a2328 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); |