This commit is contained in:
v2ray
2016-02-05 22:06:27 +01:00
parent d0de8060b6
commit 2d551c97df
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ func NewInboundDetourHandlerDynamic(space app.Space, config *InboundDetourConfig
}
ichCount := config.Allocation.Concurrency
ichArray := make([]proxy.InboundHandler, ichCount*2)
for idx, _ := range ichArray {
for idx := range ichArray {
ich, err := proxyrepo.CreateInboundHandler(config.Protocol, space, config.Settings)
if err != nil {
log.Error("Point: Failed to create inbound connection handler: ", err)