diff --git a/pkg/zerotier/endpoint.go b/pkg/zerotier/endpoint.go index 42bc74e8c..45fadd14b 100644 --- a/pkg/zerotier/endpoint.go +++ b/pkg/zerotier/endpoint.go @@ -42,7 +42,7 @@ type Endpoint struct { cep C.ZT_Endpoint } -func EndpointTypeToString(int t) string { +func EndpointTypeToString(t int) string { switch t { case EndpointTypeZeroTier: return "zerotier"