Fix tailscale dialer

This commit is contained in:
世界 2025-02-14 13:35:00 +08:00
parent d884e07147
commit b223e8d721
No known key found for this signature in database
GPG Key ID: CD109927C34A63C4

View File

@ -119,10 +119,11 @@ func NewEndpoint(ctx context.Context, router adapter.Router, logger log.ContextL
remoteIsDomain = true
}
outboundDialer, err := dialer.NewWithOptions(dialer.Options{
Context: ctx,
Options: options.DialerOptions,
RemoteIsDomain: remoteIsDomain,
NewDialer: true,
Context: ctx,
Options: options.DialerOptions,
RemoteIsDomain: remoteIsDomain,
ResolverOnDetour: true,
NewDialer: true,
})
if err != nil {
return nil, err