[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210817082740.6be97031@hermes.local>
Date: Tue, 17 Aug 2021 08:27:40 -0700
From: Stephen Hemminger <stephen@...workplumber.org>
To: Gokul Sivakumar <gokulkumar792@...il.com>
Cc: netdev@...r.kernel.org, David Ahern <dsahern@...nel.org>
Subject: Re: [PATCH iproute2-next v2 2/3] bridge: fdb: don't colorize the
"dev" & "dst" keywords in "bridge -c fdb"
On Sun, 15 Aug 2021 00:17:26 +0530
Gokul Sivakumar <gokulkumar792@...il.com> wrote:
> + if (!is_json_context())
> + print_string(PRINT_FP, NULL, "dev ", NULL);
Why not the check for is_json_context is unnecessary here.
That is what PRINT_FP does.
Powered by blists - more mailing lists