[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20241224113420.4a8dee6e@fedora>
Date: Tue, 24 Dec 2024 11:34:20 -0800
From: Stephen Hemminger <stephen@...workplumber.org>
To: Ido Schimmel <idosch@...dia.com>
Cc: <netdev@...r.kernel.org>, <dsahern@...il.com>, <petrm@...dia.com>,
<gnault@...hat.com>
Subject: Re: [PATCH iproute2-next 3/3] iprule: Add flow label support
On Mon, 23 Dec 2024 10:26:42 +0200
Ido Schimmel <idosch@...dia.com> wrote:
>
> +static void iprule_flowlabel_parse(char *arg, __u32 *flowlabel,
> + __u32 *flowlabel_mask)
> +{
> + char *slash;
> +
> + slash = strchr(arg, '/');
> + if (slash != NULL)
> + *slash = '\0';
> + if (get_u32(flowlabel, arg, 0))
> + invarg("invalid flowlabel\n", arg);
The function invarg already adds a new line at the end
Powered by blists - more mailing lists