diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2021-10-20 08:00:57 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2021-10-20 08:00:57 -0400 |
| commit | 6865ffa758d358ba2ed1f94bef9ad53b05652db9 (patch) | |
| tree | 92b521bfa9de9ad0a9cf41b82187549969ddc3f6 /pathd/pathd.c | |
| parent | e15a935c06b8b339940926d908dc250ecd6bda0d (diff) | |
pathd: Call frr_fini() before exit
pathd was never calling frr_fini and as such the
proper shutdown was not happening for libfrr.
This includes logging.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'pathd/pathd.c')
| -rw-r--r-- | pathd/pathd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pathd/pathd.c b/pathd/pathd.c index 90b8727284..7f6d34f752 100644 --- a/pathd/pathd.c +++ b/pathd/pathd.c @@ -22,6 +22,7 @@ #include "log.h" #include "lib_errors.h" #include "network.h" +#include "libfrr.h" #include "pathd/pathd.h" #include "pathd/path_zebra.h" @@ -1223,6 +1224,7 @@ void pathd_shutdown(void) { path_ted_teardown(); srte_clean_zebra(); + frr_fini(); } void trigger_pathd_candidate_created(struct srte_candidate *candidate) |
