Compare commits

...

1 Commits

Author SHA1 Message Date
julianknodt
1ab09bd036 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>
2021-06-21 15:30:10 -07:00

View File

@@ -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.