Fix tailscale start dependencies

This commit is contained in:
世界 2026-04-28 18:35:00 +08:00
parent 7b258f2430
commit 3076764463
No known key found for this signature in database
GPG key ID: CD109927C34A63C4

View file

@ -247,7 +247,7 @@ func NewEndpoint(ctx context.Context, router adapter.Router, logger log.ContextL
HTTPClient: controlHTTPClient,
}
return &Endpoint{
Adapter: endpoint.NewAdapter(C.TypeTailscale, tag, []string{N.NetworkTCP, N.NetworkUDP, N.NetworkICMP}, nil),
Adapter: endpoint.NewAdapterWithDialerOptions(C.TypeTailscale, tag, []string{N.NetworkTCP, N.NetworkUDP, N.NetworkICMP}, controlHTTPClientOptions.DialerOptions),
ctx: ctx,
router: router,
logger: logger,