mirror of
https://github.com/tailscale/tailscale.git
synced 2026-11-25 11:11:18 -08:00
XXX: relay CapVer
do not merge Signed-off-by: Jordan Whited <[email protected]>
This commit is contained in:
1 file changed
+4
-3
@@ -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
|
||||
|
||||
Reference in new issue
Block a user