Skip to content

Commit

Permalink
Merge: * install: IPv6 addresses were removed from the list of availa…
Browse files Browse the repository at this point in the history
…ble addresses

Close #1481

* commit 'dfa278b845dbf890fec800e15495b364f6f4fd2e':
  * install: IPv6 addresses were removed from the list of available addresses
  • Loading branch information
szolin committed Mar 17, 2020
2 parents 5f328d2 + dfa278b commit a93652b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions util/network_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())
}
Expand Down

0 comments on commit a93652b

Please sign in to comment.