Make changes based on review comments

This commit is contained in:
Neil Alexander 2019-03-08 10:26:46 +00:00
parent 57eb6eaeb0
commit 917ca6c1c5
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944
5 changed files with 30 additions and 17 deletions

View file

@ -676,7 +676,7 @@ func (a *admin) getData_getPeers() []admin_nodeInfo {
{"bytes_sent", atomic.LoadUint64(&p.bytesSent)},
{"bytes_recvd", atomic.LoadUint64(&p.bytesRecvd)},
{"proto", p.intf.info.linkType},
{"endpoint", p.intf.info.remote},
{"endpoint", p.intf.name},
{"box_pub_key", hex.EncodeToString(p.box[:])},
}
peerInfos = append(peerInfos, info)