[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZnJKODji2Jgtsi2g@Laptop-X1>
Date: Wed, 19 Jun 2024 11:02:16 +0800
From: Hangbin Liu <liuhangbin@...il.com>
To: Tobias Waldekranz <tobias@...dekranz.com>
Cc: stephen@...workplumber.org, dsahern@...nel.org, netdev@...r.kernel.org
Subject: Re: [PATCH iproute2 1/3] ip: bridge: add support for mst_enabled
On Fri, Jun 14, 2024 at 03:38:16PM +0200, Tobias Waldekranz wrote:
> @@ -169,6 +170,18 @@ static int bridge_parse_opt(struct link_util *lu, int argc, char **argv,
> bm.optval |= no_ll_learn_bit;
> else
> bm.optval &= ~no_ll_learn_bit;
> + } else if (matches(*argv, "mst_enabled") == 0) {
> + __u32 mst_bit = 1 << BR_BOOLOPT_MST_ENABLE;
> + __u8 mst_enabled;
Please use strcmp instead of match for new options.
Thanks
Hangbin
Powered by blists - more mailing lists