summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonald Sharp <donaldsharp72@gmail.com>2024-06-01 10:05:09 -0400
committerGitHub <noreply@github.com>2024-06-01 10:05:09 -0400
commitfe7ca5ce3edc7eedc987d091b817b1d380184f7f (patch)
tree0020dab40c18e4c72d9e1cf66fc1bacab189ad75
parent8a5f550ad49cad26709938289fdc4ff349f0f4ab (diff)
parentf6a53d1fbf8636c6babcb41ce2490ca2106b533a (diff)
Merge pull request #16141 from LabNConsulting/dleroy/nhrpd-shutdown-backport-fix
nhrpd: core dump on shutdown (backport #15879)
-rw-r--r--nhrpd/nhrp_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nhrpd/nhrp_main.c b/nhrpd/nhrp_main.c
index 593498ca13..6489a66d7b 100644
--- a/nhrpd/nhrp_main.c
+++ b/nhrpd/nhrp_main.c
@@ -83,13 +83,13 @@ static void nhrp_request_stop(void)
debugf(NHRP_DEBUG_COMMON, "Exiting...");
frr_early_fini();
- nhrp_shortcut_terminate();
+ vrf_terminate();
nhrp_nhs_terminate();
nhrp_zebra_terminate();
vici_terminate();
evmgr_terminate();
nhrp_vc_terminate();
- vrf_terminate();
+ nhrp_shortcut_terminate();
debugf(NHRP_DEBUG_COMMON, "Done.");
frr_fini();