mirror of
https://github.com/tailscale/tailscale.git
synced 2025-05-17 16:02:28 +00:00
tailcfg: Add user derps field to derpmap
Adds a field to derpmaps which will allow for users to specify their own DERP nodes outside of those specified by tailscale's regions. Signed-off-by: julianknodt <julianknodt@gmail.com>
This commit is contained in:
parent
ad288baaea
commit
1ab09bd036
@ -14,6 +14,9 @@ type DERPMap struct {
|
|||||||
//
|
//
|
||||||
// The numbers are not necessarily contiguous.
|
// The numbers are not necessarily contiguous.
|
||||||
Regions map[int]*DERPRegion
|
Regions map[int]*DERPRegion
|
||||||
|
|
||||||
|
// UserSpecified is the set of user run DERP nodes specific to this tailnet.
|
||||||
|
UserSpecified []*DERPNode
|
||||||
}
|
}
|
||||||
|
|
||||||
/// RegionIDs returns the sorted region IDs.
|
/// RegionIDs returns the sorted region IDs.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user