f6b50d52d4
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>
13 lines
329 B
Go
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
|
|
}
|