1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/libnetwork/portallocator/portallocator_windows.go

13 lines
340 B
Go
Raw Normal View History

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
}