Subject: Re: [PATCH iproute2-next v4 1/1] police: Add support for json output

From: Stephen Hemminger <[email-masked]>
Date: Mon, 5 Jul 2021 09:28:17 -0700

On Mon, 7 Jun 2021 09:44:08 +0300
Roi Dayan <[email-masked]> wrote:

> -	fprintf(f, " police 0x%x ", p->index);
> +	print_uint(PRINT_ANY, "index", "\t index %u ", p->index);

Why did output format have to change here? Why not:

	print_hex(PRINT_ANY, "police", " police %#x", p->index);