Subject: Re: [PATCH iproute2-next 1/1] tc: report time an action was first used

From: Stephen Hemminger <[email-masked]>
Date: Tue, 19 May 2020 11:06:10 -0700

On Sun, 17 May 2020 09:28:45 -0400
Roman Mashak <[email-masked]> wrote:

> +	if (tm->firstuse != 0) {
> +		print_uint(PRINT_JSON, "first_used", NULL, tm->firstuse);
> +		print_uint(PRINT_FP, NULL, " firstused %u sec",
> +			   (unsigned int)(tm->firstuse/hz));
> +	}

The JSON should report in same units as non-json output.

If you are copying what expires does, it is wrong as well.