aboutsummaryrefslogtreecommitdiff
path: root/ntpd/ntp_refclock.c
diff options
context:
space:
mode:
Diffstat (limited to 'ntpd/ntp_refclock.c')
-rw-r--r--ntpd/ntp_refclock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ntpd/ntp_refclock.c b/ntpd/ntp_refclock.c
index a0dbd4ca83b6..d109b7115793 100644
--- a/ntpd/ntp_refclock.c
+++ b/ntpd/ntp_refclock.c
@@ -112,7 +112,7 @@ refclock_report(
/* ignore others */
break;
}
- if (pp->lastevent < 15)
+ if ((code != CEVNT_NOMINAL) && (pp->lastevent < 15))
pp->lastevent++;
if (pp->currentstatus != code) {
pp->currentstatus = (u_char)code;