summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/stack
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2021-05-03 23:49:56 +0000
committergVisor bot <gvisor-bot@google.com>2021-05-03 23:49:56 +0000
commit96a3d887c6be51769e5a5d50877bd0c020ccc0e8 (patch)
tree0397983aee6c2b21c4675827fea1b53e79bcd467 /pkg/tcpip/stack
parentffd373a53752a76dd11d0dfa85b62490ed0fd3b2 (diff)
parent279f9fcee763a52d210f8269bc4c871b7eee112f (diff)
Merge release-20210419.0-56-g279f9fcee (automated)
Diffstat (limited to 'pkg/tcpip/stack')
-rw-r--r--pkg/tcpip/stack/stack.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/tcpip/stack/stack.go b/pkg/tcpip/stack/stack.go
index 843118b13..436392f23 100644
--- a/pkg/tcpip/stack/stack.go
+++ b/pkg/tcpip/stack/stack.go
@@ -322,7 +322,7 @@ func (*TransportEndpointInfo) IsEndpointInfo() {}
func New(opts Options) *Stack {
clock := opts.Clock
if clock == nil {
- clock = &tcpip.StdClock{}
+ clock = tcpip.NewStdClock()
}
if opts.UniqueID == nil {