mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-11-22 13:05:36 +03:00
Merge: * install: IPv6 addresses were removed from the list of available addresses
Close #1481 * commit 'dfa278b845dbf890fec800e15495b364f6f4fd2e': * install: IPv6 addresses were removed from the list of available addresses
This commit is contained in:
commit
a93652b1c0
1 changed files with 0 additions and 4 deletions
|
@ -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())
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue