diff --git a/internal/pkg/utils/network.go b/internal/pkg/utils/network.go index 50aa797..6b39deb 100644 --- a/internal/pkg/utils/network.go +++ b/internal/pkg/utils/network.go @@ -71,6 +71,7 @@ func ToIP(address net.IP) protocol.IP { } func reverseIPv4(ip net.IP) string { + ip = ip.To4() return fmt.Sprintf("%d.%d.%d.%d.", ip[3], ip[2], ip[1], ip[0]) }