diff options
author | Tamir Duberstein <tamird@google.com> | 2020-07-06 06:46:12 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-07-06 06:48:04 -0700 |
commit | 043e5dddde43ea6c0cdec85d6bb30c16d3287526 (patch) | |
tree | ac5e2fab6ad28ef8f6d65d54f7f39dd4293399d3 /pkg | |
parent | 0c13538664329cac40d6eccd642909285a6c32a1 (diff) |
Remove dependency on pkg/binary
PiperOrigin-RevId: 319770124
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/tcpip/transport/tcp/BUILD | 1 | ||||
-rw-r--r-- | pkg/tcpip/transport/tcp/dispatcher.go | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/pkg/tcpip/transport/tcp/BUILD b/pkg/tcpip/transport/tcp/BUILD index 3601207be..6baeda8e4 100644 --- a/pkg/tcpip/transport/tcp/BUILD +++ b/pkg/tcpip/transport/tcp/BUILD @@ -58,7 +58,6 @@ go_library( imports = ["gvisor.dev/gvisor/pkg/tcpip/buffer"], visibility = ["//visibility:public"], deps = [ - "//pkg/binary", "//pkg/log", "//pkg/rand", "//pkg/sleep", diff --git a/pkg/tcpip/transport/tcp/dispatcher.go b/pkg/tcpip/transport/tcp/dispatcher.go index 43b76bee5..98aecab9e 100644 --- a/pkg/tcpip/transport/tcp/dispatcher.go +++ b/pkg/tcpip/transport/tcp/dispatcher.go @@ -15,7 +15,8 @@ package tcp import ( - "gvisor.dev/gvisor/pkg/binary" + "encoding/binary" + "gvisor.dev/gvisor/pkg/rand" "gvisor.dev/gvisor/pkg/sleep" "gvisor.dev/gvisor/pkg/sync" |