Total wire data should always be uint64 (fixes #315)

This commit is contained in:
Jakob Borg
2014-06-01 21:56:05 +02:00
parent a0b15d006d
commit 2db76ae786
2 changed files with 6 additions and 6 deletions

View File

@@ -186,8 +186,8 @@ func (m *Model) ConnectionStats() map[string]ConnectionInfo {
res["total"] = ConnectionInfo{
Statistics: protocol.Statistics{
At: time.Now(),
InBytesTotal: int(in),
OutBytesTotal: int(out),
InBytesTotal: in,
OutBytesTotal: out,
},
}