瀏覽代碼

Typo / thinko

Adam Ierymenko 4 年之前
父節點
當前提交
7c599fe83e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      pkg/zerotier/endpoint.go

+ 1 - 1
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"