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]
Date:   Wed, 17 Apr 2019 16:35:52 -0700
From:   Stephen Hemminger <stephen@...workplumber.org>
To:     Nikolay Aleksandrov <nikolay@...ulusnetworks.com>
Cc:     netdev@...r.kernel.org, roopa@...ulusnetworks.com,
        dsa@...ulusnetworks.com
Subject: Re: [PATCH iproute2] bridge: mdb: restore valid json output

On Fri, 12 Apr 2019 18:30:55 +0300
Nikolay Aleksandrov <nikolay@...ulusnetworks.com> wrote:

> Since the commit below mdb's json output has been invalid and also with
> changed format. Restore it to a valid json like the previous format.
> Also takes care of a double "Deleted" print when monitoring for changes.
> 
> Example bridge -p -d -j mdb show:
>  [ {
>         "mdb": [ {
>                 "index": 4,
>                 "dev": "virbr0",
>                 "port": "vnet2",
>                 "grp": "ff02::202",
>                 "state": "temp",
>                 "flags": [ ]
>             },{
>                 "index": 4,
>                 "dev": "virbr0",
>                 "port": "vnet2",
>                 "grp": "ff02::1:fffb:1939",
>                 "state": "temp",
>                 "flags": [ ]
>             },{
>                 "index": 6,
>                 "dev": "virbr1",
>                 "port": "vnet7",
>                 "grp": "ff02::202",
>                 "state": "temp",
>                 "flags": [ ]
>             },{
>                 "index": 6,
>                 "dev": "virbr1",
>                 "port": "vnet7",
>                 "grp": "ff02::1:ffd0:f61f",
>                 "state": "temp",
>                 "flags": [ ]
>             } ],
>         "router": {
>             "virbr0": [ {
>                     "port": "vnet1"
>                 },{
>                     "port": "vnet0"
>                 } ],
>             "virbr1": [ {
>                     "port": "vnet5"
>                 } ]
>         }
>     } ]
> 
> Fixes: c7c1a1ef51ae ("bridge: colorize output and use JSON print library")
> Signed-off-by: Nikolay Aleksandrov <nikolay@...ulusnetworks.com>

Applied, thanks for fixing up my mess from using JSON here.

Powered by blists - more mailing lists