Increase the upper limit of ali-nlb ports (#204)

Signed-off-by: ChrisLiu <chrisliu1995@163.com>
This commit is contained in:
ChrisLiu 2025-02-27 17:44:08 +08:00 committed by GitHub
parent aaa63740a4
commit 0b3575947b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ func (o AlibabaCloudOptions) Valid() bool {
return false
}
}
if int(nlbOptions.MaxPort-nlbOptions.MinPort)-len(nlbOptions.BlockPorts) >= 500 {
if int(nlbOptions.MaxPort-nlbOptions.MinPort)-len(nlbOptions.BlockPorts) >= 1000 {
return false
}
if nlbOptions.MinPort <= 0 {