core icon indicating copy to clipboard operation
core copied to clipboard

[#834] Increase IP address size for IPv6

Open tvdhout opened this issue 3 years ago • 1 comments

Fixes issue #834

tvdhout avatar Feb 01 '22 11:02 tvdhout

It may be worth to set the length to 45 (grep INET6_ADDRSTRLEN /usr/include/arpa/inet.h shows 46, but that is including a terminating '\0'), to also cover the rare cases of IPv6 mapped IPv4 notation (0000:0000:0000:0000:0000:0000:123.123.123.123).

mdavids avatar Feb 02 '22 08:02 mdavids