list peers last

This commit is contained in:
Callan Bryant 2020-03-15 16:08:21 +00:00
parent a35ab76c22
commit 0e95b26b11
No known key found for this signature in database
GPG Key ID: C31FA9DF3ACBFFAA

View File

@ -59,9 +59,9 @@ type DsnetReport struct {
// Network is chosen randomly when not specified
Network JSONIPNet
DNS net.IP
Peers []PeerReport
PeersOnline int
PeersTotal int
Peers []PeerReport
}
func GenerateReport(dev *wgtypes.Device, conf *DsnetConfig, oldReport *DsnetReport) DsnetReport {