mirror of
https://github.com/cwinfo/yggdrasil-go.git
synced 2024-11-24 17:11:35 +00:00
Include public key in yggdrasilctl getSelf output for v0.4 nodes
This commit is contained in:
parent
80b6bf0c78
commit
d46a883020
@ -291,6 +291,9 @@ func run() int {
|
||||
if subnet, ok := v.(map[string]interface{})["subnet"].(string); ok {
|
||||
fmt.Println("IPv6 subnet:", subnet)
|
||||
}
|
||||
if boxSigKey, ok := v.(map[string]interface{})["key"].(string); ok {
|
||||
fmt.Println("Public key:", boxSigKey)
|
||||
}
|
||||
if coords, ok := v.(map[string]interface{})["coords"].(string); ok {
|
||||
fmt.Println("Coords:", coords)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user