diff options
author | Tamir Duberstein <tamird@google.com> | 2021-05-26 13:57:22 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-05-26 13:59:49 -0700 |
commit | b6f9158424c9f5b8a141e468e22fd12bc4dfc447 (patch) | |
tree | 3262a9a30fb509e459a20d7ea7d3fd9b4a567b4c /pkg/tcpip/stack | |
parent | 9fcc44f991203343438b489389c2b861040086ac (diff) |
Clarify comment
PiperOrigin-RevId: 376022495
Diffstat (limited to 'pkg/tcpip/stack')
-rw-r--r-- | pkg/tcpip/stack/stack.go | 4 |
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. |