From 593632045d6b7a0a0594f5b037709fb10387df1a Mon Sep 17 00:00:00 2001 From: Zillode Date: Mon, 9 Nov 2015 23:48:58 +0100 Subject: [PATCH] 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. --- lib/model/model.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/model/model.go b/lib/model/model.go index 06c6a5c16..d2976ac52 100644 --- a/lib/model/model.go +++ b/lib/model/model.go @@ -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