Merge pull request #2450 from syncthing/Zillode-patch-1

Correct commentary for ConnectionStats
This commit is contained in:
Audrius Butkevicius 2015-11-09 18:32:19 -05:00
commit 92451f94bc

View File

@ -261,7 +261,7 @@ func (info ConnectionInfo) MarshalJSON() ([]byte, error) {
})
}
// ConnectionStats returns a map with connection statistics for each connected device.
// ConnectionStats returns a map with connection statistics for each device.
func (m *Model) ConnectionStats() map[string]interface{} {
type remoteAddrer interface {
RemoteAddr() net.Addr