Correct commentary for ConnectionStats

Related to https://github.com/syncthing/syncthing-android/issues/473 and 944d9c84a0
ConnectionStats returns connection information for all devices, even when disconnected.
This commit is contained in:
Zillode 2015-11-09 23:48:58 +01:00 committed by Lode Hoste
parent e3c55ef307
commit 593632045d

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