mirror of
https://github.com/octoleo/syncthing.git
synced 2025-01-09 17:53:59 +00:00
Merge pull request #2450 from syncthing/Zillode-patch-1
Correct commentary for ConnectionStats
This commit is contained in:
commit
92451f94bc
@ -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{} {
|
func (m *Model) ConnectionStats() map[string]interface{} {
|
||||||
type remoteAddrer interface {
|
type remoteAddrer interface {
|
||||||
RemoteAddr() net.Addr
|
RemoteAddr() net.Addr
|
||||||
|
Loading…
Reference in New Issue
Block a user