summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--staticd/static_main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/staticd/static_main.c b/staticd/static_main.c
index 79686158cf..da06749c2f 100644
--- a/staticd/static_main.c
+++ b/staticd/static_main.c
@@ -77,6 +77,9 @@ static void sigint(void)
{
zlog_notice("Terminating on signal");
+ /* Disable BFD events to avoid wasting processing. */
+ bfd_protocol_integration_set_shutdown(true);
+
static_vrf_terminate();
static_zebra_stop();