From 5d0dbe0fb971e6fb178bfc56de08235bfbb40f6f Mon Sep 17 00:00:00 2001 From: Steven Allen Date: Sun, 30 Sep 2018 17:16:44 -0700 Subject: [PATCH] fix IsIPLoopback comment --- ip.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ip.go b/ip.go index 421dddf..e5054dc 100644 --- a/ip.go +++ b/ip.go @@ -60,7 +60,7 @@ func IsThinWaist(m ma.Multiaddr) bool { } // IsIPLoopback returns whether a Multiaddr is a "Loopback" IP address -// This means either /ip4/127.*.*.*, /ip6/::1, or /ip6/fe80::1 +// This means either /ip4/127.*.*.*, /ip6/::1, or /ip6/::ffff:127.*.*.*.* func IsIPLoopback(m ma.Multiaddr) bool { b := m.Bytes() for _, prefix := range loopbackPrefixes {