From: David Ahern <dsahern@kernel.org>
To: Jan Engelhardt <jengelh@inai.de>, stephen@networkplumber.org
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH iproute2] ss: print IPv6 zone identifier within the square backets
Date: Sun, 22 Mar 2026 18:22:02 -0600 [thread overview]
Message-ID: <2fd3d4bd-afad-42f3-8a2e-805940e078cd@kernel.org> (raw)
In-Reply-To: <20260317182245.87996-1-jengelh@inai.de>
On 3/17/26 12:22 PM, Jan Engelhardt wrote:
> ss was printing the zone identifier in the wrong place.
> The zone identifier belongs to the address [1][2][3], and should thus
> be enclosed within the square brackets, not outside of it.
>
> [1] glibc (since about 2000) accepts "fe80::1%eth0" as an input to
> the `getaddrinfo` function.
> [2] Zone architecture specification (drafted 2003; released 2005):
> RFC 4007 §4: "The scope of an address is encoded as part of the
> address".
> [3] RFC 6874 §2 pg. 4: ABNF syntax showing where zones go in
> relation to square brackets.
>
> Signed-off-by: Jan Engelhardt <jengelh@inai.de>
> ---
> misc/ss.c | 28 +++++++++++++++++-----------
> 1 file changed, 17 insertions(+), 11 deletions(-)
>
This change is definitely going to break existing scripts handling ipv6
addresses. I do not see how this can be applied.
next prev parent reply other threads:[~2026-03-23 0:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-17 18:22 [PATCH iproute2] ss: print IPv6 zone identifier within the square backets Jan Engelhardt
2026-03-23 0:22 ` David Ahern [this message]
2026-03-23 8:39 ` Jan Engelhardt
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=2fd3d4bd-afad-42f3-8a2e-805940e078cd@kernel.org \
--to=dsahern@kernel.org \
--cc=jengelh@inai.de \
--cc=netdev@vger.kernel.org \
--cc=stephen@networkplumber.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