mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-30 23:37:44 +00:00
protobuf for net
This commit is contained in:
20 files changed
+323
-77
No files matched your search
@@ -23,7 +23,7 @@ func NewInboundDetourHandlerAlways(space app.Space, config *InboundDetourConfig)
|
||||
}
|
||||
ports := config.PortRange
|
||||
handler.ich = make([]proxy.InboundHandler, 0, ports.To-ports.From+1)
|
||||
for i := ports.From; i <= ports.To; i++ {
|
||||
for i := ports.FromPort(); i <= ports.ToPort(); i++ {
|
||||
ichConfig := config.Settings
|
||||
ich, err := proxyregistry.CreateInboundHandler(config.Protocol, space, ichConfig, &proxy.InboundHandlerMeta{
|
||||
Address: config.ListenOn,
|
||||
|
||||
Reference in new issue
Block a user