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)) {