We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2b541b7 + ee4ab58 commit a7b93d1Copy full SHA for a7b93d1
ip.go
@@ -63,7 +63,7 @@ func IsIPLoopback(m ma.Multiaddr) bool {
63
}
64
65
// /ip6/::1
66
- if IP6Loopback.Equal(m) || IP6LinkLocalLoopback.Equal(m) {
+ if !m.Decapsulate(IP6Loopback).Equal(m) || !m.Decapsulate(IP6LinkLocalLoopback).Equal(m) {
67
return true
68
69
0 commit comments