mirror of
https://github.com/tailscale/tailscale.git
synced 2025-02-22 12:58:37 +00:00

No need for these knobs on iOS where you can set the environment variables anyway. Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
21 lines
607 B
Go
21 lines
607 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
|
|
|
|
// All knobs are disabled on iOS.
|
|
// Further, they're const, so the toolchain can produce smaller binaries.
|
|
const (
|
|
logPacketDests = false
|
|
debugDisco = false
|
|
debugOmitLocalAddresses = false
|
|
debugUseDerpRouteEnv = ""
|
|
debugUseDerpRoute = false
|
|
logDerpVerbose = false
|
|
debugReSTUNStopOnIdle = false
|
|
debugAlwaysDERP = false
|
|
)
|
|
|
|
func inTest() bool { return false }
|