From 8669091a0882627ad1aa6cc78081267c595a36d1 Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Mon, 22 Jul 2019 19:45:48 +0100 Subject: [PATCH] Don't send IP back twice with getPeers --- src/admin/admin.go | 1 - 1 file changed, 1 deletion(-) diff --git a/src/admin/admin.go b/src/admin/admin.go index 4c933dd5..fc8a6a59 100644 --- a/src/admin/admin.go +++ b/src/admin/admin.go @@ -103,7 +103,6 @@ func (a *AdminSocket) Init(c *yggdrasil.Core, state *config.NodeState, log *log. addr := *address.AddrForNodeID(crypto.GetNodeID(&p.PublicKey)) so := net.IP(addr[:]).String() peers[so] = Info{ - "ip": so, "port": p.Port, "uptime": p.Uptime.Seconds(), "bytes_sent": p.BytesSent,