summaryrefslogtreecommitdiff
path: root/timehint.c
diff options
context:
space:
mode:
Diffstat (limited to 'timehint.c')
-rw-r--r--timehint.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/timehint.c b/timehint.c
index c0502d61..0a6ebd69 100644
--- a/timehint.c
+++ b/timehint.c
@@ -381,6 +381,10 @@ static char *report_hook(volatile struct pps_thread_t *pps_thread,
if (session->shm_pps != NULL)
(void)ntpshm_put(session, session->shm_pps, td);
+ /* session context might have a hook set, too */
+ if (session->context->pps_hook != NULL)
+ session->context->pps_hook(session, td);
+
return log1;
}
#endif /* PPS_ENABLE */