server: change MIN_PORT from 1024 to 1

This commit is contained in:
fatedier 2018-01-22 11:48:31 +08:00
parent 74b75e8c57
commit a77c7e8625

View File

@ -9,7 +9,7 @@ import (
) )
const ( const (
MinPort = 1025 MinPort = 1
MaxPort = 65535 MaxPort = 65535
MaxPortReservedDuration = time.Duration(24) * time.Hour MaxPortReservedDuration = time.Duration(24) * time.Hour
CleanReservedPortsInterval = time.Hour CleanReservedPortsInterval = time.Hour