1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/daemon/networkdriver
shuai-z 4c97832297 fixed the way of iterating over the range of map.
Fixed the following errors:
1. Request(0) causes a dead loop when the map is full and map.last == BEGIN.
2. When map.last is the only available port (or ip), Request(0) returns ErrAllPortsAllocated (or ErrNoAvailableIPs). Exception is when map.last == BEGIN.

Signed-off-by: shuai-z <zs.broccoli@gmail.com>
2014-11-04 13:46:53 +08:00
..
bridge adding support for port ranges on --expose 2014-10-31 23:06:30 +00:00
ipallocator fixed the way of iterating over the range of map. 2014-11-04 13:46:53 +08:00
portallocator fixed the way of iterating over the range of map. 2014-11-04 13:46:53 +08:00
portmapper pkg/reexec: move reexec code to a new package 2014-10-30 14:48:30 +02:00
network.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
network_test.go Implementing IPv6 functionality for ipallocator 2014-10-02 00:25:02 +02:00
utils.go Implementing IPv6 functionality for ipallocator 2014-10-02 00:25:02 +02:00