On Wed, 29 May 2019 20:52:42 +0300
Nikolay Aleksandrov <[email protected]> wrote:
> While I fixed the mdb json output, I did overlook the text output.
> This patch returns the original text output format:
> dev <bridge> port <port> grp <mcast group> <temp|permanent> <flags> <timer>
> Example (old format, restored by this patch):
> dev br0 port eth8 grp 239.1.1.11 temp
>
> Example (changed format after the commit below):
> 23: br0 eth8 239.1.1.11 temp
>
> We had some reports of failing scripts which were parsing the output.
> Also the old format matches the bridge mdb command syntax which makes
> it easier to build commands out of the output.
>
> Fixes: c7c1a1ef51ae ("bridge: colorize output and use JSON print library")
> Signed-off-by: Nikolay Aleksandrov <[email protected]>
Looks good, thanks for fixing.
Applied.