mirror of
https://github.com/logos-messaging/go-multiaddr.git
synced 2026-01-02 21:13:12 +00:00
added todo
This commit is contained in:
parent
eae26b653a
commit
98f07b6bcc
1
ip.go
1
ip.go
@ -53,6 +53,7 @@ func IsThinWaist(m ma.Multiaddr) bool {
|
||||
|
||||
// IsIPLoopback returns whether a Multiaddr is a "Loopback" IP address
|
||||
// This means either /ip4/127.0.0.1 or /ip6/::1
|
||||
// TODO: differentiate IsIPLoopback and OverIPLoopback
|
||||
func IsIPLoopback(m ma.Multiaddr) bool {
|
||||
b := m.Bytes()
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user