[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220127091335.410d9edd@hermes.local>
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