[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20191028095802.5b5d5b43@hermes.lan>
Date: Mon, 28 Oct 2019 09:58:02 -0700
From: Stephen Hemminger <stephen@...workplumber.org>
To: Andy Roulin <aroulin@...ulusnetworks.com>
Cc: netdev@...r.kernel.org, dsahern@...il.com,
nikolay@...ulusnetworks.com, roopa@...ulusnetworks.com,
j.vosburgh@...il.com, vfalico@...il.com, andy@...yhouse.net
Subject: Re: [PATCH iproute2-next 3/3] iplink: bond: print 3ad actor/partner
oper states as strings
On Sat, 26 Oct 2019 16:29:54 -0700
Andy Roulin <aroulin@...ulusnetworks.com> wrote:
> + if (!is_json_context())
> + fprintf(fp, " <");
You don't need conditional here.
Use:
print_string(PRINT_FP, NULL, " <", NULL);
Powered by blists - more mailing lists