]> git.puffer.fish Git - matthieu/frr.git/commitdiff
nhrpd: core dump on shutdown backport fix
authorDave LeRoy <dleroy@labn.net>
Fri, 31 May 2024 17:05:10 +0000 (10:05 -0700)
committerDave LeRoy <dleroy@labn.net>
Fri, 31 May 2024 17:05:10 +0000 (10:05 -0700)
This fixes a merge conflict encountered when backporting PR 15879

Signed-off-by: Dave LeRoy <dleroy@labn.net>
nhrpd/nhrp_main.c

index 593498ca134783e51e0810f321066f1eb55b6b53..6489a66d7b5ddfcf05daf4a93fe9ec248f4f891a 100644 (file)
@@ -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();