[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20231220200614.274222fd@hermes.local>
Date: Wed, 20 Dec 2023 20:06:14 -0800
From: Stephen Hemminger <stephen@...workplumber.org>
To: Benjamin Poirier <bpoirier@...dia.com>
Cc: netdev@...r.kernel.org, Petr Machata <petrm@...dia.com>, Roopa Prabhu
<roopa@...dia.com>
Subject: Re: [PATCH iproute2-next 09/20] bridge: vni: Move
open_json_object() within print_vni()
On Mon, 11 Dec 2023 09:07:21 -0500
Benjamin Poirier <bpoirier@...dia.com> wrote:
> print_vni() is used to output one vni or vni range which, in json output
> mode, looks like
> {
> "vni": 100
> }
>
> Currently, the closing bracket is handled within the function but the
> opening bracket is handled by open_json_object() before calling the
> function. For consistency, move the call to open_json_object() within
> print_vni().
>
> Reviewed-by: Petr Machata <petrm@...dia.com>
> Tested-by: Petr Machata <petrm@...dia.com>
> Signed-off-by: Benjamin Poirier <bpoirier@...dia.com>
Acked-by: Stephen Hemminger <stephen@...workplumber.org>
Powered by blists - more mailing lists