platform: Improve status

This commit is contained in:
世界
2023-08-04 17:13:46 +08:00
parent c40140bbae
commit 59987747e5
11 changed files with 64 additions and 39 deletions

View File

@@ -27,7 +27,7 @@ func New(ctx context.Context, router adapter.Router, logger log.ContextLogger, t
return NewBlock(logger, tag), nil
case C.TypeDNS:
return NewDNS(router, tag), nil
case C.TypeSocks:
case C.TypeSOCKS:
return NewSocks(router, logger, tag, options.SocksOptions)
case C.TypeHTTP:
return NewHTTP(router, logger, tag, options.HTTPOptions)