From: David Ahern <dsahern@gmail.com>
To: Thayne McCombs <astrothayne@gmail.com>
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH ip-route2-next v2] ss: always prefer family as part of host condition to default family
Date: Thu, 4 Feb 2021 21:57:32 -0700 [thread overview]
Message-ID: <87e796a8-2011-96f4-9ae6-9a668f71d0d9@gmail.com> (raw)
In-Reply-To: <20210202033210.2863-1-astrothayne@gmail.com>
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@gmail.com>
> ---
> misc/ss.c | 50 ++++++++++++++++++++++++--------------------------
> 1 file changed, 24 insertions(+), 26 deletions(-)
>
>
applied to iproute2-next. Thanks
prev parent reply other threads:[~2021-02-05 4:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-31 8:17 [PATCH iproute2-next] ss: always prefer family as part of host condition to default family Thayne McCombs
2021-02-02 3:04 ` David Ahern
2021-02-02 3:32 ` [PATCH ip-route2-next v2] " Thayne McCombs
2021-02-05 4:57 ` David Ahern [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87e796a8-2011-96f4-9ae6-9a668f71d0d9@gmail.com \
--to=dsahern@gmail.com \
--cc=astrothayne@gmail.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).