mirror of
https://github.com/tailscale/tailscale.git
synced 2025-12-29 14:38:00 +00:00
ipn/ipnlocal: move last unconditional gvisor import, complete ts_omit_netstack support
Fixes #17283 Change-Id: Ia84d269683e4a68d7d10562561204934eeaf53bb Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
committed by
Brad Fitzpatrick
parent
eaecc0be54
commit
87ee0f4e98
@@ -7,7 +7,7 @@
|
||||
|
||||
package buildfeatures
|
||||
|
||||
// HasNetstack is whether the binary was built with support for modular feature "gVisor netstack (userspace networking) support (TODO; not yet omittable)".
|
||||
// HasNetstack is whether the binary was built with support for modular feature "gVisor netstack (userspace networking) support".
|
||||
// Specifically, it's whether the binary was NOT built with the "ts_omit_netstack" build tag.
|
||||
// It's a const so it can be used for dead code elimination.
|
||||
const HasNetstack = false
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
package buildfeatures
|
||||
|
||||
// HasNetstack is whether the binary was built with support for modular feature "gVisor netstack (userspace networking) support (TODO; not yet omittable)".
|
||||
// HasNetstack is whether the binary was built with support for modular feature "gVisor netstack (userspace networking) support".
|
||||
// Specifically, it's whether the binary was NOT built with the "ts_omit_netstack" build tag.
|
||||
// It's a const so it can be used for dead code elimination.
|
||||
const HasNetstack = true
|
||||
|
||||
@@ -121,7 +121,7 @@ var Features = map[FeatureTag]FeatureMeta{
|
||||
},
|
||||
"portlist": {"PortList", "Optionally advertise listening service ports", nil},
|
||||
"portmapper": {"PortMapper", "NAT-PMP/PCP/UPnP port mapping support", nil},
|
||||
"netstack": {"Netstack", "gVisor netstack (userspace networking) support (TODO; not yet omittable)", nil},
|
||||
"netstack": {"Netstack", "gVisor netstack (userspace networking) support", nil},
|
||||
"networkmanager": {
|
||||
Sym: "NetworkManager",
|
||||
Desc: "Linux NetworkManager integration",
|
||||
|
||||
Reference in New Issue
Block a user