[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180911083020.284efdc3@xeon-e3>
Date: Tue, 11 Sep 2018 08:30:20 -0700
From: Stephen Hemminger <stephen@...workplumber.org>
To: Hangbin Liu <liuhangbin@...il.com>
Cc: netdev@...r.kernel.org, David Ahern <dsahern@...il.com>,
Phil Sutter <phil@....cc>
Subject: Re: [PATCHv2 iproute2] bridge/mdb: fix missing new line when show
bridge mdb
On Tue, 11 Sep 2018 09:26:35 +0800
Hangbin Liu <liuhangbin@...il.com> wrote:
> + if (!is_json_context() && !show_stats)
> + print_string(PRINT_FP, NULL, "\n", NULL);
I just added print_nl to json_print which does what you want.
Powered by blists - more mailing lists