From 80d0b88a89e0eacd25471d1a93eed114d1df0cc6 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Fri, 14 Aug 2020 13:20:25 -0700 Subject: [PATCH] derp/derpmap: fix constructor argument order Fix of 3e2bfe48c323a434 --- derp/derpmap/derpmap.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/derp/derpmap/derpmap.go b/derp/derpmap/derpmap.go index b6e156665..ec2d571a5 100644 --- a/derp/derpmap/derpmap.go +++ b/derp/derpmap/derpmap.go @@ -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,