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]
Date:   Thu, 27 Jan 2022 09:13:35 -0800
From:   Stephen Hemminger <stephen@...workplumber.org>
To:     Wojciech Drewek <wojciech.drewek@...el.com>
Cc:     netdev@...r.kernel.org, dsahern@...il.com,
        michal.swiatkowski@...ux.intel.com, marcin.szycik@...ux.intel.com
Subject: Re: [PATCH iproute2-next 1/2] ip: GTP support in ip link

On Thu, 27 Jan 2022 14:13:54 +0100
Wojciech Drewek <wojciech.drewek@...el.com> wrote:

> +		if (role == GTP_ROLE_SGSN)
> +			print_string(PRINT_ANY, "role", "role %s ", "sgsn");
> +		else
> +			print_string(PRINT_ANY, "role", "role %s ", "ggsn");

Why not us trigraph?
		print_string(PRINT_ANY, "role", "role %s ",
				role == GTP_ROLE_SGSN ? "sgsn" : "ggsn");

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ