mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
1f90fdd973
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
12 lines
340 B
Go
12 lines
340 B
Go
package portallocator
|
|
|
|
const (
|
|
// defaultPortRangeStart indicates the first port in port range
|
|
defaultPortRangeStart = 60000
|
|
// defaultPortRangeEnd indicates the last port in port range
|
|
defaultPortRangeEnd = 65000
|
|
)
|
|
|
|
func getDynamicPortRange() (start int, end int, err error) {
|
|
return defaultPortRangeStart, defaultPortRangeEnd, nil
|
|
}
|