Skip to content

Conversation

@tvdhout
Copy link
Contributor

@tvdhout tvdhout commented Feb 1, 2022

Fixes issue #834

@mdavids
Copy link

mdavids commented Feb 2, 2022

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).

@benkeen benkeen merged commit 5390fed into formtools:master Jan 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants