-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Avoid IPv4-mapped IPv6 addresses #148
Conversation
Avoid IPv4-mapped IPv6 addresses when converting from net.IP to netip.Addr by using the To4() and Unmap() methods. Signed-off-by: hwipl <[email protected]>
Add tests for IPv4-mapped IPv6 addresses to addrmon, daemoncfg and dnsproxy. Signed-off-by: hwipl <[email protected]>
Test Result🙌 273 Tests pass Test Details🟢 TestAddrMonStartStop (0.00s) CoverageTotal coverage: 🟩🟩🟩🟥 76.1% Coverage Details
|
Avoid IPv4-mapped IPv6 addresses when converting from net.IP to
netip.Addr by using the To4() and Unmap() methods.