summaryrefslogtreecommitdiff
path: root/extendedstats/other.go
diff options
context:
space:
mode:
authorRandall Meyer <[email protected]>2022-10-16 15:20:32 -0700
committerRandall Meyer <[email protected]>2023-02-20 10:28:21 -0800
commit8a66c0ad439a6a5d2ae886b28ec841b3663df226 (patch)
tree35c1961dde53d4c3c4a078be426ce833c9332b91 /extendedstats/other.go
parentea1c43eb259aeefa340bdf99339f4e76bc744e4f (diff)
extendedstats: fix build error on other platform
Also, simplify code for darwin's TCPInfo
Diffstat (limited to 'extendedstats/other.go')
-rw-r--r--extendedstats/other.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/extendedstats/other.go b/extendedstats/other.go
index 2d76eaf..ed6d925 100644
--- a/extendedstats/other.go
+++ b/extendedstats/other.go
@@ -36,6 +36,6 @@ func ExtendedStatsAvailable() bool {
return false
}
-func GetTCPInfo(basicConn net.Conn) (interface, error) {
+func GetTCPInfo(basicConn net.Conn) (interface{}, error) {
return nil, fmt.Errorf("GetTCPInfo is not supported on this platform")
}