diff --git a/clock.c b/clock.c index bd22de5..1ba30ee 100644 --- a/clock.c +++ b/clock.c @@ -574,6 +574,9 @@ struct clock *clock_create(int phc_index, struct interface *iface, int count, if (c->free_running) { c->clkid = CLOCK_INVALID; + if (timestamping == TS_SOFTWARE || timestamping == TS_LEGACY_HW) { + c->utc_timescale = 1; + } } else if (phc_index >= 0) { snprintf(phc, 31, "/dev/ptp%d", phc_index); c->clkid = phc_open(phc);