tailscale/tailcfg
Brad Fitzpatrick b3d0ebcca3 ipn/ipnlocal: only send AllowsUpdate if clientupdate feature is linked in
Like the earlier RemoteConfig change, gate Hostinfo.AllowsUpdate on
feature.IsRegistered("clientupdate") in addition to the
buildfeatures.HasClientUpdate build-tag const. tsnet binaries don't
import feature/clientupdate even though ts_omit_clientupdate isn't
set, so they shouldn't tell control they can be remotely updated.

Add the previously missing feature.Register call to
feature/clientupdate, document the binary-support requirement on
tailcfg.Hostinfo.AllowsUpdate, and make tsnet's dep test verify it
doesn't depend on feature/clientupdate.

Updates #12614

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
Change-Id: I526ef11f2a4141f5fce161b1f77263324014b5c4
2026-07-09 19:08:05 -07:00
..
c2ntypes.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
derpmap.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
proto_port_range_test.go cmd/vet: add subtestnames analyzer; fix all existing violations 2026-04-05 15:52:51 -07:00
proto_port_range.go all: fix more typos caused by unnecessary repetition 2026-07-06 10:36:17 +01:00
tailcfg_clone.go cmd/tailscale, ipn, feature/remoteconfig: add remote-config support 2026-07-07 12:10:34 -07:00
tailcfg_test.go cmd/tailscale, ipn, feature/remoteconfig: add remote-config support 2026-07-07 12:10:34 -07:00
tailcfg_view.go ipn/ipnlocal: only send AllowsUpdate if clientupdate feature is linked in 2026-07-09 19:08:05 -07:00
tailcfg.go ipn/ipnlocal: only send AllowsUpdate if clientupdate feature is linked in 2026-07-09 19:08:05 -07:00
tka.go all: update a few more references to network/tailnet lock 2026-05-28 16:44:16 +01:00