From dfa278b845dbf890fec800e15495b364f6f4fd2e Mon Sep 17 00:00:00 2001 From: Simon Zolin Date: Mon, 16 Mar 2020 14:32:38 +0300 Subject: [PATCH] * install: IPv6 addresses were removed from the list of available addresses --- util/network_utils.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/util/network_utils.go b/util/network_utils.go index af410201..4683b39d 100644 --- a/util/network_utils.go +++ b/util/network_utils.go @@ -88,10 +88,6 @@ func GetValidNetInterfacesForWeb() ([]NetInterface, error) { if ipNet.IP.IsLinkLocalUnicast() { continue } - // ignore IPv6 - if ipNet.IP.To4() == nil { - continue - } netIface.Addresses = append(netIface.Addresses, ipNet.IP.String()) netIface.Subnets = append(netIface.Subnets, ipNet.String()) }