[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240704110556.1ebea204@hermes.local>
Date: Thu, 4 Jul 2024 11:05:56 -0700
From: Stephen Hemminger <stephen@...workplumber.org>
To: Bastian Krause <bst@...gutronix.de>
Cc: Fabian Pfitzner <f.pfitzner@...gutronix.de>, mkubecek@...e.cz,
netdev@...r.kernel.org
Subject: Re: [PATCH ethtool 1/2]: add json support for base command
On Thu, 4 Jul 2024 17:21:16 +0200
Bastian Krause <bst@...gutronix.de> wrote:
> > if (pause)
> > - printf("%s\n", asym ? "Symmetric Receive-only" : "Symmetric");
> > + print_string(PRINT_ANY, label_json, "%s\n",
> > + asym ? "Symmetric Receive-only" : "Symmetric");
> > else
> > - printf("%s\n", asym ? "Transmit-only" : "No");
> > + print_string(PRINT_ANY, label_json, "%s\n", asym ? "Transmit-only" : "No");
JSON has boolean type, why is this not ysed here?
Powered by blists - more mailing lists