16 lines
299 B
Go
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)
|
|
}
|