From 043e5dddde43ea6c0cdec85d6bb30c16d3287526 Mon Sep 17 00:00:00 2001 From: Tamir Duberstein Date: Mon, 6 Jul 2020 06:46:12 -0700 Subject: Remove dependency on pkg/binary PiperOrigin-RevId: 319770124 --- pkg/tcpip/transport/tcp/BUILD | 1 - pkg/tcpip/transport/tcp/dispatcher.go | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'pkg') 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" -- cgit v1.2.3