tsconst.go 623 B

123456789101112131415
  1. // Copyright (c) Tailscale Inc & AUTHORS
  2. // SPDX-License-Identifier: BSD-3-Clause
  3. // Package tsconst exports some constants used elsewhere in the
  4. // codebase.
  5. package tsconst
  6. // WintunInterfaceDesc is the description attached to Tailscale
  7. // interfaces on Windows. This is set by the WinTun driver.
  8. const WintunInterfaceDesc = "Tailscale Tunnel"
  9. const WintunInterfaceDesc0_14 = "Wintun Userspace Tunnel"
  10. // TailnetLockNotTrustedMsg is the error message used by network lock
  11. // and sniffed (via substring) out of an error sent over the network.
  12. const TailnetLockNotTrustedMsg = "this node is not trusted by network lock"