XXX: relay CapVer

do not merge

Signed-off-by: Jordan Whited <jordan@tailscale.com>
This commit is contained in:
Jordan Whited 2025-06-21 19:11:27 -07:00
parent 8ae141706f
commit e52eed15c8
No known key found for this signature in database
GPG Key ID: 33DF352F65991EB8

View File

@ -14,7 +14,6 @@ import (
"expvar"
"fmt"
"io"
"math"
"net"
"net/netip"
"reflect"
@ -2558,12 +2557,14 @@ func (c *Conn) SetProbeUDPLifetime(v bool) {
func capVerIsRelayCapable(version tailcfg.CapabilityVersion) bool {
// TODO(jwhited): implement once capVer is bumped
return version == math.MinInt32
// return version == math.MinInt32
return true
}
func capVerIsRelayServerCapable(version tailcfg.CapabilityVersion) bool {
// TODO(jwhited): implement once capVer is bumped
return version == math.MinInt32
// return version == math.MinInt32
return true
}
// onFilterUpdate is called when a [FilterUpdate] is received over the