summaryrefslogtreecommitdiff
path: root/pathd/pathd.c
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2022-07-20 14:53:20 +0200
committerPhilippe Guibert <philippe.guibert@6wind.com>2022-07-22 08:39:06 +0200
commite6d41136603a53a2d20cf088568522760fdb4966 (patch)
treed58899d382fba44cd3135013214522afd941a6db /pathd/pathd.c
parenta145324acf079d1b081cfceb64a04a27279eb626 (diff)
pathd: add a zebra stop handler
This handler code is used to stop zebra related contexts. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'pathd/pathd.c')
-rw-r--r--pathd/pathd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pathd/pathd.c b/pathd/pathd.c
index be2cfe8b01..e9d7cc6fc7 100644
--- a/pathd/pathd.c
+++ b/pathd/pathd.c
@@ -510,6 +510,8 @@ void srte_clean_zebra(void)
RB_FOREACH_SAFE (policy, srte_policy_head, &srte_policies, safe_pol)
srte_policy_del(policy);
+
+ path_zebra_stop();
}
/**