Fix CodeRabbit review issues from IPv6 overlay PR (#5839)

This commit is contained in:
Viktor Liu
2026-04-10 09:12:35 +08:00
committed by GitHub
parent f484835292
commit 6e05a2ebe9
7 changed files with 44 additions and 17 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ func (a *Anonymizer) AnonymizeIP(ip netip.Addr) netip.Addr {
ip.IsLinkLocalUnicast() ||
ip.IsLinkLocalMulticast() ||
ip.IsInterfaceLocalMulticast() ||
ip.IsPrivate() ||
(ip.Is4() && ip.IsPrivate()) ||
ip.IsUnspecified() ||
ip.IsMulticast() ||
isWellKnown(ip) ||