update sing-box core v1.12.0

This commit is contained in:
wyx2685
2025-02-08 13:38:05 +09:00
parent ec5dcc3c8a
commit 484faaf0c3
4 changed files with 94 additions and 186 deletions

View File

@@ -37,7 +37,7 @@ func init() {
func New(c *conf.CoreConfig) (vCore.Core, error) {
ctx := context.Background()
ctx = box.Context(ctx, include.InboundRegistry(), include.OutboundRegistry(), include.EndpointRegistry())
ctx = box.Context(ctx, include.InboundRegistry(), include.OutboundRegistry(), include.EndpointRegistry(), include.DNSTransportRegistry())
options := option.Options{}
if len(c.SingConfig.OriginalPath) != 0 {
data, err := os.ReadFile(c.SingConfig.OriginalPath)