Fix tailscale start dependencies

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

View file

@ -249,7 +249,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,