mirror of
https://github.com/moby/moby.git
synced 2026-07-09 08:07:56 +00:00
These values are configured when instantiating the allocator, and not intended to be mutated externally. They're only used internally with the exception of a test in the bridge driver that uses it to pick a port that can be used for testing. This patch: - un-exports the Begin and End fields - introduces a GetPortRange() utility to allow the bridge driver to get the port, but marking it as a function for internal use. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>