utils_windows.go 329 B

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