[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3678ebef-39b3-7e00-1ad1-114889aba683@gmail.com>
Date: Mon, 5 Jul 2021 10:30:27 -0600
From: David Ahern <dsahern@...il.com>
To: Stephen Hemminger <stephen@...workplumber.org>,
Roi Dayan <roid@...dia.com>
Cc: netdev@...r.kernel.org, Paul Blakey <paulb@...dia.com>,
Jamal Hadi Salim <jhs@...atatu.com>
Subject: Re: [PATCH iproute2-next v4 1/1] police: Add support for json output
On 7/5/21 10:28 AM, Stephen Hemminger wrote:
> On Mon, 7 Jun 2021 09:44:08 +0300
> Roi Dayan <roid@...dia.com> 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);
>
it should not have. I caught it in the first version in a review
comment; missed it in v4 that was applied.
Powered by blists - more mailing lists