summaryrefslogtreecommitdiffstats
path: root/contrib/ntp/ntpd/refclock_pst.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/ntp/ntpd/refclock_pst.c')
-rw-r--r--contrib/ntp/ntpd/refclock_pst.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/ntp/ntpd/refclock_pst.c b/contrib/ntp/ntpd/refclock_pst.c
index 2443b2c..776e28e 100644
--- a/contrib/ntp/ntpd/refclock_pst.c
+++ b/contrib/ntp/ntpd/refclock_pst.c
@@ -269,7 +269,8 @@ pst_receive(
*/
if (!refclock_process(pp))
refclock_report(peer, CEVNT_BADTIME);
-
+ else if (peer->disp > MAXDISTANCE)
+ refclock_receive(peer);
}
OpenPOWER on IntegriCloud