From ef4962938721b46c87e6fb2acfc1e4c893a26925 Mon Sep 17 00:00:00 2001 From: Richard Cochran Date: Fri, 5 Dec 2014 23:46:35 +0100 Subject: [PATCH] Invoke the clock check even if the time stamp nanoseconds field is zero. Signed-off-by: Richard Cochran --- port.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/port.c b/port.c index 475d3e4..25265f7 100644 --- a/port.c +++ b/port.c @@ -2188,7 +2188,7 @@ enum fsm_event port_event(struct port *p, int fd_index) msg_put(msg); return EV_NONE; } - if (msg->hwts.ts.tv_sec && msg->hwts.ts.tv_nsec) { + if (msg_sots_valid(msg)) { clock_check_ts(p->clock, msg->hwts.ts); } if (port_ignore(p, msg)) {