lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<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

Powered by Openwall GNU/*/Linux Powered by OpenVZ