Files
tsnet-proxy/vendor/tailscale.com/ipn/ipnlocal/routecheck_enabled.go
T
2026-10-22 12:27:19 +01:00

16 lines
299 B
Go

// Copyright (c) Tailscale Inc & contributors
// SPDX-License-Identifier: BSD-3-Clause
//go:build !ts_omit_routecheck
package ipnlocal
import (
"tailscale.com/net/routecheck"
"tailscale.com/tailcfg"
)
func isRouteCheckEnabled(self tailcfg.NodeView) bool {
return routecheck.IsEnabled(self)
}