[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87e796a8-2011-96f4-9ae6-9a668f71d0d9@gmail.com>
Date: Thu, 4 Feb 2021 21:57:32 -0700
From: David Ahern <dsahern@...il.com>
To: Thayne McCombs <astrothayne@...il.com>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH ip-route2-next v2] ss: always prefer family as part of
host condition to default family
On 2/1/21 8:32 PM, Thayne McCombs wrote:
> I've fixed the indentation to use tabs instead of spaces.
>
> -- >8 --
> ss accepts an address family both with the -f option and as part of a
> host condition. However, if the family in the host condition is
> different than the the last -f option, then which family is actually
> used depends on the order that different families are checked.
>
> This changes parse_hostcond to check all family prefixes before parsing
> the rest of the address, so that the host condition's family always has
> a higher priority than the "preferred" family.
>
> Signed-off-by: Thayne McCombs <astrothayne@...il.com>
> ---
> misc/ss.c | 50 ++++++++++++++++++++++++--------------------------
> 1 file changed, 24 insertions(+), 26 deletions(-)
>
>
applied to iproute2-next. Thanks
Powered by blists - more mailing lists