mirror of
https://github.com/tailscale/tailscale.git
synced 2025-07-02 13:08:40 +00:00
XXX: relay CapVer
do not merge Signed-off-by: Jordan Whited <jordan@tailscale.com>
This commit is contained in:
parent
8ae141706f
commit
e52eed15c8
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user