[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <68f22fdf-8157-4eb9-a658-9962befab54c@app.fastmail.com>
Date: Wed, 24 May 2023 00:11:22 +0800
From: "Vladimir Nikishkin" <vladimir@...ishkin.pw>
To: "Stephen Hemminger" <stephen@...workplumber.org>
Cc: netdev@...r.kernel.org, davem@...emloft.net, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com, eng.alaamohamedsoliman.am@...il.com,
gnault@...hat.com, razor@...ckwall.org, idosch@...dia.com,
liuhangbin@...il.com, eyal.birger@...il.com, jtoppins@...hat.com
Subject: Re: [PATCH iproute2-next v6] ip-link: add support for nolocalbypass in vxlan
On Wed, May 24, 2023, at 00:04, Stephen Hemminger wrote:
> On Tue, 23 May 2023 12:48:05 +0800
> Vladimir Nikishkin <vladimir@...ishkin.pw> wrote:
>
>> + if (tb[IFLA_VXLAN_LOCALBYPASS]) {
>> + __u8 localbypass = rta_getattr_u8(tb[IFLA_VXLAN_LOCALBYPASS]);
>> +
>> + print_bool(PRINT_JSON, "localbypass", NULL, localbypass);
>> + if (!localbypass)
>> + print_bool(PRINT_FP, NULL, "nolocalbypass ", true);
>> + }
>
> This is backwards since nolocalbypass is the default.
localbypass is (or should) be the default, because it is how everything used to work in the past. nolocalbypass is the new feature.
--
Fastmail.
Powered by blists - more mailing lists