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.
|
||||
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.
|
||||
|
|
Loading…
Reference in New Issue