summaryrefslogtreecommitdiffhomepage
path: root/feature/buildfeatures/feature_linkspeed_enabled.go
blob: a63aabc2a324742b88ec0dbd3665e17584f1955d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright (c) Tailscale Inc & contributors
// SPDX-License-Identifier: BSD-3-Clause

// Code generated by gen.go; DO NOT EDIT.

//go:build !ts_omit_linkspeed

package buildfeatures

// HasLinkSpeed is whether the binary was built with support for modular feature "Set link speed on TUN device for better OS integration (Linux only)".
// Specifically, it's whether the binary was NOT built with the "ts_omit_linkspeed" build tag.
// It's a const so it can be used for dead code elimination.
const HasLinkSpeed = true