Merge pull request #14624 from FRRouting/mergify/bp/dev/9.1/pr-14618

watchfrr: Extend ignore option to daemon being killed (backport #14618)
This commit is contained in:
Donald Sharp 2023-10-19 16:02:43 -04:00 committed by GitHub
commit a0cfc4fc75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -600,6 +600,9 @@ static void daemon_restarting_operational(struct event *thread)
static void daemon_down(struct daemon *dmn, const char *why)
{
if (dmn->ignore_timeout)
return;
if (IS_UP(dmn) || (dmn->state == DAEMON_INIT))
flog_err(EC_WATCHFRR_CONNECTION, "%s state -> down : %s",
dmn->name, why);