From 7b431678970c2c633bb29b9fac6d002ae3ea3402 Mon Sep 17 00:00:00 2001 From: vyzo Date: Tue, 16 Oct 2018 19:09:34 +0300 Subject: [PATCH] fix typo --- private.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/private.go b/private.go index 3028d20..348ae83 100644 --- a/private.go +++ b/private.go @@ -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 {