[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87frk3jt64.fsf@nvidia.com>
Date: Mon, 24 Feb 2025 15:47:43 +0100
From: Petr Machata <petrm@...dia.com>
To: Ido Schimmel <idosch@...dia.com>
CC: <netdev@...r.kernel.org>, <stephen@...workplumber.org>,
<dsahern@...il.com>, <gnault@...hat.com>, <petrm@...dia.com>
Subject: Re: [PATCH iproute2-next 3/5] iprule: Allow specifying ports in
hexadecimal notation
Ido Schimmel <idosch@...dia.com> writes:
> This will be useful when enabling port masks in the next patch.
>
> Before:
>
> # ip rule add sport 0x1 table 100
> Invalid "sport"
>
> After:
>
> # ip rule add sport 0x1 table 100
> $ ip rule show sport 0x1
> 32765: from all sport 1 lookup 100
>
> Signed-off-by: Ido Schimmel <idosch@...dia.com>
Reviewed-by: Petr Machata <petrm@...dia.com>
Powered by blists - more mailing lists