Browse Source

Update zerotier

LinkLeong 1 year ago
parent
commit
f26ae2793c
1 changed files with 4 additions and 1 deletions
  1. 4 1
      route/v1/zerotier.go

+ 4 - 1
route/v1/zerotier.go

@@ -205,7 +205,10 @@ func CreateNet(address, s, e, c string) string {
 		{
 		{
 		"type": "ACTION_ACCEPT"
 		"type": "ACTION_ACCEPT"
 		}
 		}
-		]
+		],
+		"v6AssignMode": {
+			"rfc4193": true
+		   }
 		}`
 		}`
 	createRes, err := httper.ZTPost("/controller/network/"+address+"______", body)
 	createRes, err := httper.ZTPost("/controller/network/"+address+"______", body)
 	if err != nil {
 	if err != nil {