Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/ntp/dist/ntpd PR bin/55973:



details:   https://anonhg.NetBSD.org/src/rev/688242717e75
branches:  trunk
changeset: 952806:688242717e75
user:      kardel <kardel%NetBSD.org@localhost>
date:      Thu Feb 18 15:13:37 2021 +0000

description:
PR bin/55973:

fix routing message triggered one shot interface update.

diffstat:

 external/bsd/ntp/dist/ntpd/ntp_timer.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 77be1149fcb4 -r 688242717e75 external/bsd/ntp/dist/ntpd/ntp_timer.c
--- a/external/bsd/ntp/dist/ntpd/ntp_timer.c    Thu Feb 18 12:54:03 2021 +0000
+++ b/external/bsd/ntp/dist/ntpd/ntp_timer.c    Thu Feb 18 15:13:37 2021 +0000
@@ -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 @@
                if (interface_interval)
                        timer_interfacetimeout(current_time +
                            interface_interval);
+               else
+                       timer_interfacetimeout(0);
                DPRINTF(2, ("timer: interface update\n"));
                interface_update(NULL, NULL);
        }



Home | Main Index | Thread Index | Old Index