Correct commentary for ConnectionStats

Related to https://github.com/syncthing/syncthing-android/issues/473 and https://github.com/syncthing/syncthing/commit/944d9c84a087f70d0ab5c281b7c37fcc9c796ccd
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
+1 -1
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