2016-02-26 22:58:11 +00:00
|
|
|
package netutils
|
2015-11-24 21:42:28 +00:00
|
|
|
|
|
|
|
import (
|
|
|
|
"net"
|
|
|
|
|
2021-04-06 00:24:47 +00:00
|
|
|
"github.com/docker/docker/libnetwork/types"
|
2015-11-24 21:42:28 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
// FindAvailableNetwork returns a network from the passed list which does not
|
|
|
|
// overlap with existing interfaces in the system
|
|
|
|
func FindAvailableNetwork(list []*net.IPNet) (*net.IPNet, error) {
|
|
|
|
return nil, types.NotImplementedErrorf("not supported on freebsd")
|
|
|
|
}
|