diff options
author | Yuqing Zhao <galadriel.zyq@alibaba-inc.com> | 2025-01-13 11:04:38 +0100 |
---|---|---|
committer | Yuqing Zhao <galadriel.zyq@alibaba-inc.com> | 2025-01-18 11:28:49 +0100 |
commit | 73fdae9bea086006f164c689ebd0f0f623808f28 (patch) | |
tree | e03fde801177406270df0aa8a82384ff4436c120 | |
parent | staticd: Install SIDs when a dependent interface goes up/down (diff) | |
download | frr-73fdae9bea086006f164c689ebd0f0f623808f28.tar.xz frr-73fdae9bea086006f164c689ebd0f0f623808f28.zip |
staticd: Initialize/cleanup SRv6
Signed-off-by: Yuqing Zhao <galadriel.zyq@alibaba-inc.com>
-rw-r--r-- | staticd/static_main.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/staticd/static_main.c b/staticd/static_main.c index 5e74326e3..3b59ca6a7 100644 --- a/staticd/static_main.c +++ b/staticd/static_main.c @@ -26,6 +26,7 @@ #include "static_zebra.h" #include "static_debug.h" #include "static_nb.h" +#include "static_srv6.h" #include "mgmt_be_client.h" @@ -76,6 +77,10 @@ static void sigint(void) static_vrf_terminate(); static_zebra_stop(); + + /* clean up SRv6 data structures */ + static_srv6_cleanup(); + frr_fini(); exit(0); @@ -161,6 +166,9 @@ int main(int argc, char **argv, char **envp) static_debug_init(); static_vrf_init(); + /* initialize SRv6 data structures */ + static_srv6_init(); + static_zebra_init(); static_vty_init(); |