mirror of
https://github.com/logos-messaging/go-multiaddr.git
synced 2026-01-04 05:53:05 +00:00
fix typo
This commit is contained in:
parent
c2b139aab4
commit
7b43167897
@ -65,7 +65,7 @@ func parseCIDR(cidrs []string) []*net.IPNet {
|
||||
return ipnets
|
||||
}
|
||||
|
||||
// IsPublicAddr retruns true if the IP part of the multiaddr is a publically routable address
|
||||
// IsPublicAddr retruns true if the IP part of the multiaddr is a publicly routable address
|
||||
func IsPublicAddr(a ma.Multiaddr) bool {
|
||||
ip, err := a.ValueForProtocol(ma.P_IP4)
|
||||
if err == nil {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user