From cae589d2d335c06a2471c522697927d0e9666b44 Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Wed, 23 May 2018 22:21:37 +0100 Subject: [PATCH] More nice --- yggdrasilctl.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yggdrasilctl.go b/yggdrasilctl.go index c15a28c2..5cea7745 100644 --- a/yggdrasilctl.go +++ b/yggdrasilctl.go @@ -157,12 +157,12 @@ func main() { } case "getSelf": for k, v := range res["self"].(map[string]interface{}) { - fmt.Println("address:", k) + fmt.Println("IPv6 address:", k) if subnet, ok := v.(map[string]interface{})["subnet"].(string); ok { - fmt.Println("subnet:", subnet) + fmt.Println("IPv6 subnet:", subnet) } if coords, ok := v.(map[string]interface{})["coords"].(string); ok { - fmt.Println("coords:", coords) + fmt.Println("Coords:", coords) } } case "addPeer", "removePeer", "addAllowedEncryptionPublicKey", "removeAllowedEncryptionPublicKey":