From bc82294d86c2ee1fb1f6922433e042b589170c3c Mon Sep 17 00:00:00 2001 From: kardel Date: Thu, 18 Feb 2021 15:13:37 +0000 Subject: [PATCH] PR bin/55973: fix routing message triggered one shot interface update. --- external/bsd/ntp/dist/ntpd/ntp_timer.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/external/bsd/ntp/dist/ntpd/ntp_timer.c b/external/bsd/ntp/dist/ntpd/ntp_timer.c index 0494dc9f3520..af1ddd2db7ca 100644 --- a/external/bsd/ntp/dist/ntpd/ntp_timer.c +++ b/external/bsd/ntp/dist/ntpd/ntp_timer.c @@ -1,4 +1,4 @@ -/* $NetBSD: ntp_timer.c,v 1.9 2021/01/03 15:33:05 roy Exp $ */ +/* $NetBSD: ntp_timer.c,v 1.10 2021/02/18 15:13:37 kardel Exp $ */ /* * ntp_timer.c - event timer support routines @@ -428,6 +428,8 @@ timer(void) if (interface_interval) timer_interfacetimeout(current_time + interface_interval); + else + timer_interfacetimeout(0); DPRINTF(2, ("timer: interface update\n")); interface_update(NULL, NULL); }