moby/libnetwork/netutils/utils_windows.go
Albin Kerouanton f6b50d52d4
libnetwork/netutils: drop ElectInterfaceAddresses
This is a follow-up of 48ad9e1. This commit removed the function
ElectInterfaceAddresses from utils_linux.go but not their FreeBSD &
Windows counterpart. As these functions are never called, they can be
safely removed.

Signed-off-by: Albin Kerouanton <albinker@gmail.com>
2023-03-31 09:37:03 +02:00

13 lines
329 B
Go

package netutils
import (
"net"
)
// FindAvailableNetwork returns a network from the passed list which does not
// overlap with existing interfaces in the system
//
// TODO : Use appropriate windows APIs to identify non-overlapping subnets
func FindAvailableNetwork(list []*net.IPNet) (*net.IPNet, error) {
return nil, nil
}