summaryrefslogtreecommitdiff
path: root/libnetwork/portallocator/portallocator_unix.go
blob: ac8e863de9da02108f23259844da56f824eabe6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//go:build !windows
// +build !windows

package portallocator

const (
	// defaultPortRangeStart indicates the first port in port range
	defaultPortRangeStart = 49153
	// defaultPortRangeEnd indicates the last port in port range
	// consistent with default /proc/sys/net/ipv4/ip_local_port_range
	// upper bound on linux
	defaultPortRangeEnd = 65535
)