feature_portmapper_disabled.go 493 B

12345678910111213
  1. // Copyright (c) Tailscale Inc & contributors
  2. // SPDX-License-Identifier: BSD-3-Clause
  3. // Code generated by gen.go; DO NOT EDIT.
  4. //go:build ts_omit_portmapper
  5. package buildfeatures
  6. // HasPortMapper is whether the binary was built with support for modular feature "NAT-PMP/PCP/UPnP port mapping support".
  7. // Specifically, it's whether the binary was NOT built with the "ts_omit_portmapper" build tag.
  8. // It's a const so it can be used for dead code elimination.
  9. const HasPortMapper = false