mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-06-13 05:44:12 +08:00
Fix tailscale dialer
This commit is contained in:
parent
d884e07147
commit
b223e8d721
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user