nanomsg / nng

nanomsg-next-generation -- light-weight brokerless messaging
https://nng.nanomsg.org
MIT License
3.63k stars 472 forks source link

fixes #1496 Provide NNG_ENABLE_IPV6 option (disabled by default) #1787

Closed gdamore closed 4 months ago

gdamore commented 4 months ago

This also checks if the build system has the definitions for AF_INET6, which might help in some embedded IPv4 only settings.

The resolver test is enhanced to include a check for IPv6 enabled in the kernel.

IPv6 support is enabled by default, of course.

codecov[bot] commented 4 months ago

Codecov Report

Attention: Patch coverage is 97.72727% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 79.12%. Comparing base (8e62028) to head (a34a07d).

Files Patch % Lines
src/platform/posix/posix_sockaddr.c 75.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1787 +/- ## ========================================== - Coverage 79.28% 79.12% -0.17% ========================================== Files 94 94 Lines 21077 21078 +1 ========================================== - Hits 16711 16677 -34 - Misses 4366 4401 +35 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.