Skip to content

Conversation

@fujita
Copy link
Member

@fujita fujita commented Dec 25, 2025

…ismatch

conn.LocalAddr() (net.Addr) and configured LocalAddress (netip.Addr) can format the same IPv6 address differently, causing false "Mismatched local address". Convert the connection's local address to netip.Addr and compare canonicalized addresses (including Unmap) instead of string forms.

…ismatch

conn.LocalAddr() (net.Addr) and configured LocalAddress (netip.Addr) can
format the same IPv6 address differently, causing false "Mismatched local address".
Convert the connection's local address to netip.Addr and compare canonicalized
addresses (including Unmap) instead of string forms.

Signed-off-by: FUJITA Tomonori <[email protected]>
@fujita fujita merged commit fb36901 into osrg:master Dec 25, 2025
40 checks passed
@fujita fujita deleted the fix-ipv6-local-addr-cmp branch December 25, 2025 23:43
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.

1 participant