From cee6cd9cdb07071cd48d5adb814d17f7a65257b4 Mon Sep 17 00:00:00 2001 From: florian Date: Sat, 3 Feb 2024 18:30:17 +0000 Subject: [PATCH] Stop spamming syslog when the network does something silly. From Stefan R. Filipek, thanks! --- sbin/slaacd/engine.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sbin/slaacd/engine.c b/sbin/slaacd/engine.c index 18e716ee16b..ef25f4b4615 100644 --- a/sbin/slaacd/engine.c +++ b/sbin/slaacd/engine.c @@ -1,4 +1,4 @@ -/* $OpenBSD: engine.c,v 1.86 2023/12/14 09:58:59 claudio Exp $ */ +/* $OpenBSD: engine.c,v 1.87 2024/02/03 18:30:17 florian Exp $ */ /* * Copyright (c) 2017 Florian Obser @@ -1272,7 +1272,7 @@ request_solicitation(struct slaacd_iface *iface) clock_gettime(CLOCK_MONOTONIC, &now); timespecsub(&now, &iface->last_sol, &diff); if (timespeccmp(&diff, &sol_delay, <)) { - log_warnx("last solicitation less then %d seconds ago", + log_debug("last solicitation less than %d seconds ago", RTR_SOLICITATION_INTERVAL); return; } -- 2.20.1