mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
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>
14 lines
329 B
Go
14 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
|
|
}
|