From d265aefd326ddc03c19e5b38ce8abba806356e43 Mon Sep 17 00:00:00 2001 From: Maria Matejka Date: Mon, 25 Nov 2024 12:02:13 +0100 Subject: [PATCH] Protocol restart timer reworked. The restart timer was racy and didn't allow for immediate restarts from limits. Now the protocols stores the last restart time and in case of too frequent autorestarts caused by exceeded limits, the protocol gets disabled with an error message. Also now there is a configuration knob for this. --- doc/bird.sgml | 7 +++++++ nest/config.Y | 1 + nest/proto.c | 48 ++++++++++++++---------------------------------- nest/protocol.h | 5 +++-- 4 files changed, 25 insertions(+), 36 deletions(-) diff --git a/doc/bird.sgml b/doc/bird.sgml index 5e48e342..3e7ae9dd 100644 --- a/doc/bird.sgml +++ b/doc/bird.sgml @@ -839,6 +839,13 @@ agreement"). command line interface without needing to touch the configuration. Disabled protocols are not activated. Default: protocol is enabled. +