XXX: relay CapVer

do not merge

Signed-off-by: Jordan Whited <[email protected]>
This commit is contained in:
Jordan Whited committed 2025-06-21 19:13:02 -07:00
1 parent 8ae141706f
commit e52eed15c8
1 file changed
+4 -3
+4 -3
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