mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-07-25 08:38:14 +03:00
Fix tailscale dialer
This commit is contained in:
@@ -119,10 +119,11 @@ func NewEndpoint(ctx context.Context, router adapter.Router, logger log.ContextL
|
|||||||
remoteIsDomain = true
|
remoteIsDomain = true
|
||||||
}
|
}
|
||||||
outboundDialer, err := dialer.NewWithOptions(dialer.Options{
|
outboundDialer, err := dialer.NewWithOptions(dialer.Options{
|
||||||
Context: ctx,
|
Context: ctx,
|
||||||
Options: options.DialerOptions,
|
Options: options.DialerOptions,
|
||||||
RemoteIsDomain: remoteIsDomain,
|
RemoteIsDomain: remoteIsDomain,
|
||||||
NewDialer: true,
|
ResolverOnDetour: true,
|
||||||
|
NewDialer: true,
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
|
|||||||
Reference in New Issue
Block a user