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] [day] [month] [year] [list]
Message-ID: <61d68d2b-5792-49bc-ad78-bf48de576e25@gmail.com>
Date: Sat, 31 May 2025 10:11:42 -0600
From: David Ahern <dsahern@...il.com>
To: jean.thomas@...irst.fr, netdev@...r.kernel.org
Subject: Re: [PATCH iproute2-next] ip: filter by group before printing

On 5/20/25 8:02 AM, jean.thomas@...irst.fr wrote:
> From: Jean Thomas <jean.thomas@...irst.fr>
> 
> Filter the output using the requested group, if necessary.
> 
> This avoids to print an empty JSON object for each existing item
> not matching the group filter when the --json option is used.
> 
> Before:
> $ ip --json address list group test
> [{},{},{},{},{},{},{},{},{},{},{},{}]
> 
> After:
> $ ip --json address list group test
> []
> 
> Signed-off-by: Jean Thomas <jean.thomas@...irst.fr>
> ---
>  ip/ipaddress.c | 45 ++++++++++++++++++++++++++++++++++++++++-----
>  1 file changed, 40 insertions(+), 5 deletions(-)
> 

applied to iproute2-next. Thanks



Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ