Skip to content

Commit

Permalink
Merge pull request #14618 from donaldsharp/watchfrr_extend
Browse files Browse the repository at this point in the history
watchfrr: Extend ignore option to daemon being killed
  • Loading branch information
ton31337 authored Oct 19, 2023
2 parents 8f83935 + c168244 commit 2775d22
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions watchfrr/watchfrr.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 2775d22

Please sign in to comment.