mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-29 21:15:39 +00:00
7a18fe3dca
Can still be constant, just needs the extra methods. Fixes #3812 Signed-off-by: David Anderson <danderson@tailscale.com>
22 lines
668 B
Go
22 lines
668 B
Go
// Copyright (c) 2021 Tailscale Inc & AUTHORS All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
package magicsock
|
|
|
|
import "tailscale.com/types/opt"
|
|
|
|
// All knobs are disabled on iOS.
|
|
// Further, they're const, so the toolchain can produce smaller binaries.
|
|
const (
|
|
debugDisco = false
|
|
debugOmitLocalAddresses = false
|
|
debugUseDerpRouteEnv = ""
|
|
debugUseDerpRoute opt.Bool = ""
|
|
logDerpVerbose = false
|
|
debugReSTUNStopOnIdle = false
|
|
debugAlwaysDERP = false
|
|
)
|
|
|
|
func inTest() bool { return false }
|