mirror of
https://github.com/tailscale/tailscale.git
synced 2025-12-05 04:11:59 +00:00
wgengine/magicsock: add debug envknob for injecting an endpoint
For testing. Lee wants to play with 'AWS Global Accelerator Custom Routing with Amazon Elastic Kubernetes Service'. If this works well enough, we can promote it. Updates #12578 Change-Id: I5018347ed46c15c9709910717d27305d0aedf8f4 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
committed by
Brad Fitzpatrick
parent
d2fef01206
commit
42dac7c5c2
@@ -5,7 +5,11 @@
|
||||
|
||||
package magicsock
|
||||
|
||||
import "tailscale.com/types/opt"
|
||||
import (
|
||||
"net/netip"
|
||||
|
||||
"tailscale.com/types/opt"
|
||||
)
|
||||
|
||||
// All knobs are disabled on iOS and Wasm.
|
||||
//
|
||||
@@ -26,3 +30,4 @@ func debugEnablePMTUD() opt.Bool { return "" }
|
||||
func debugRingBufferMaxSizeBytes() int { return 0 }
|
||||
func inTest() bool { return false }
|
||||
func debugPeerMap() bool { return false }
|
||||
func pretendpoint() netip.AddrPort { return netip.AddrPort{} }
|
||||
|
||||
Reference in New Issue
Block a user