derp/derpmap: fix constructor argument order

Fix of 3e2bfe48c3
reviewable/pr684/r2
Brad Fitzpatrick 4 years ago
parent f90f35c123
commit 80d0b88a89

@ -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{ region := &tailcfg.DERPRegion{
RegionID: id, RegionID: id,
RegionName: name, RegionName: name,

Loading…
Cancel
Save