summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2021-05-26 21:11:39 +0000
committergVisor bot <gvisor-bot@google.com>2021-05-26 21:11:39 +0000
commite7fd8a3b425b8820f400abede3b45c82f99ffed0 (patch)
tree28afc3ff9e9052518f7eefd3bce34f0eaacc3e58
parent66e5e6cfec12612f3d6fd9baa72ab93752211883 (diff)
parentb6f9158424c9f5b8a141e468e22fd12bc4dfc447 (diff)
Merge release-20210518.0-50-gb6f915842 (automated)
-rw-r--r--pkg/tcpip/stack/stack.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/tcpip/stack/stack.go b/pkg/tcpip/stack/stack.go
index c467f1266..1ebf9670c 100644
--- a/pkg/tcpip/stack/stack.go
+++ b/pkg/tcpip/stack/stack.go
@@ -189,9 +189,9 @@ type Options struct {
// TransportProtocols lists the transport protocols to enable.
TransportProtocols []TransportProtocolFactory
- // Clock is an optional clock source used for timestampping packets.
+ // Clock is an optional clock used for timekeeping.
//
- // If no Clock is specified, the clock source will be time.Now.
+ // If Clock is nil, tcpip.NewStdClock() will be used.
Clock tcpip.Clock
// Stats are optional statistic counters.