Re: [PATCH] ss: Enclose IPv6 address in brackets
From: Stephen Hemminger <stephen@networkplumber.org>
Date: 2017-07-29 15:26:56
From: Stephen Hemminger <stephen@networkplumber.org>
Date: 2017-07-29 15:26:56
On Sat, 29 Jul 2017 14:29:10 +0200 Florian Lehner [off-list ref] wrote:
This patch adds support for RFC2732 IPv6 address format with brackets for the tool ss. So output for ss changes from 2a00:1450:400a:804::200e:443 to [2a00:1450:400a:804::200e]:443 for IPv6 addresses with attached port number. Signed-off-by: Lehner Florian <redacted> ---
This is the right solution but it might break someone parsing the output of ss command. Will apply it anyway unless someone has an objection.