derp/derpmap: fix constructor argument order

Fix of 3e2bfe48c323a434
This commit is contained in:
Brad Fitzpatrick 2020-08-14 13:20:25 -07:00
parent f90f35c123
commit 80d0b88a89

View File

@ -21,7 +21,7 @@ func derpNode(suffix, v4, v6 string) *tailcfg.DERPNode {
}
}
func derpRegion(id int, name string, code string, nodes ...*tailcfg.DERPNode) *tailcfg.DERPRegion {
func derpRegion(id int, code, name string, nodes ...*tailcfg.DERPNode) *tailcfg.DERPRegion {
region := &tailcfg.DERPRegion{
RegionID: id,
RegionName: name,