cmd/tailscale: add start of "debug derp" subcommand
Updates #6526 Change-Id: I84e440a8bd837c383000ce0cec4ff36b24249e8b Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
committed by
Brad Fitzpatrick
parent
b0545873e5
commit
109aa3b2fb
@@ -618,3 +618,11 @@ func sortKey(ps *PeerStatus) string {
|
||||
raw := ps.PublicKey.Raw32()
|
||||
return string(raw[:])
|
||||
}
|
||||
|
||||
// DebugDERPRegionReport is the result of a "tailscale debug derp" command,
|
||||
// to let people debug a custom DERP setup.
|
||||
type DebugDERPRegionReport struct {
|
||||
Info []string
|
||||
Warnings []string
|
||||
Errors []string
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user