tailcfg: note RegionID 900-999 reservation

This commit is contained in:
Brad Fitzpatrick 2021-07-07 12:23:41 -07:00
parent ddb8726c98
commit 3dcd18b6c8

View File

@ -48,6 +48,9 @@ type DERPRegion struct {
//
// RegionIDs must be non-zero, positive, and guaranteed to fit
// in a JavaScript number.
//
// RegionIDs in range 900-999 are reserved for end users to run their
// own DERP nodes.
RegionID int
// RegionCode is a short name for the region. It's usually a popular