* install: IPv6 addresses were removed from the list of available addresses

This commit is contained in:
Simon Zolin 2020-03-16 14:32:38 +03:00
parent 480c6ac753
commit dfa278b845
1 changed files with 0 additions and 4 deletions

View File

@ -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())
}