mirror of
https://github.com/e1732a364fed/v2ray_simple.git
synced 2025-12-24 13:27:56 +08:00
修复上一个commit的错误
This commit is contained in:
@@ -112,7 +112,7 @@ func RandPort(mustValid, isudp bool, depth int) (p int) {
|
||||
}
|
||||
|
||||
if depth < 20 {
|
||||
return RandPort(mustValid, false, depth)
|
||||
return RandPort(mustValid, false, depth+1)
|
||||
|
||||
} else {
|
||||
if ce := utils.CanLogDebug("Get RandPort udp but got err, and depth reach limit, return directly"); ce != nil {
|
||||
|
||||
Reference in New Issue
Block a user