Stop spamming syslog when the network does something silly.
authorflorian <florian@openbsd.org>
Sat, 3 Feb 2024 18:30:17 +0000 (18:30 +0000)
committerflorian <florian@openbsd.org>
Sat, 3 Feb 2024 18:30:17 +0000 (18:30 +0000)
From Stefan R. Filipek, thanks!

sbin/slaacd/engine.c

index 18e716e..ef25f4b 100644 (file)
@@ -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 <florian@openbsd.org>
@@ -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;
        }