From 171e1e7823a502db250e5e878f2251783fa8b15f Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Sat, 7 Jul 2018 11:28:50 +0100 Subject: [PATCH] Update default AdminListen to URI format --- yggdrasil.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yggdrasil.go b/yggdrasil.go index 20b4aa08..e4c63d70 100644 --- a/yggdrasil.go +++ b/yggdrasil.go @@ -53,7 +53,7 @@ func generateConfig(isAutoconf bool) *nodeConfig { r1 := rand.New(rand.NewSource(time.Now().UnixNano())) cfg.Listen = fmt.Sprintf("[::]:%d", r1.Intn(65534-32768)+32768) } - cfg.AdminListen = "localhost:9001" + cfg.AdminListen = "tcp://localhost:9001" cfg.EncryptionPublicKey = hex.EncodeToString(bpub[:]) cfg.EncryptionPrivateKey = hex.EncodeToString(bpriv[:]) cfg.SigningPublicKey = hex.EncodeToString(spub[:])