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 for Android: free password hash cracker in your pocket
[<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

Powered by Openwall GNU/*/Linux Powered by OpenVZ