summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2021-04-16 03:06:46 +0000
committergVisor bot <gvisor-bot@google.com>2021-04-16 03:06:46 +0000
commit9b193c987c72e88efbc3d08455353f9d94c35505 (patch)
tree07d98ba24655b6da41c4c806cc1022de3d9fc7b4 /pkg/tcpip
parent089ecc17d2bd0825f62246059d2d05fadff72d33 (diff)
parent14b7d775c950070378ea799a0b6b7907f67a1f1e (diff)
Merge release-20210408.0-38-g14b7d775c (automated)
Diffstat (limited to 'pkg/tcpip')
-rw-r--r--pkg/tcpip/tcpip.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/tcpip/tcpip.go b/pkg/tcpip/tcpip.go
index 2b6e6a89f..d1b5982f5 100644
--- a/pkg/tcpip/tcpip.go
+++ b/pkg/tcpip/tcpip.go
@@ -1212,7 +1212,7 @@ func (s *StatCounter) Decrement() {
}
// Value returns the current value of the counter.
-func (s *StatCounter) Value() uint64 {
+func (s *StatCounter) Value(name ...string) uint64 {
return atomic.LoadUint64(&s.count)
}