Moby Project - a collaborative project for the container ecosystem to assemble container-based systems
Go to file
Alessandro Boch 3d805de246 Pass a canonical subnet to ipallocator
- Currently both network and host bits in the subnet are passed
  when requesting an address from ipallocator.
  The way ip allocator determines the first available
  IP is tainted when caller passes the subnet host bits.

- Verified this patch applied to libnetwork vendored in docker
  fixes the issue when starting the daemon.

- Fixes #287

Signed-off-by: Alessandro Boch <aboch@docker.com>
2015-06-12 00:20:43 -07:00
libnetwork Pass a canonical subnet to ipallocator 2015-06-12 00:20:43 -07:00