summaryrefslogtreecommitdiffhomepage
path: root/test/packetimpact/testbench/BUILD
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-04-08 23:28:52 -0700
committergVisor bot <gvisor-bot@google.com>2020-04-08 23:30:09 -0700
commit21e438d257861eadc1dafcee914e4a51cffd3852 (patch)
tree7f26c0ae9ce193c952cbb1ea27c9ed9b709380ab /test/packetimpact/testbench/BUILD
parenta10389e783aab5f530641394ef44c8a1dede9372 (diff)
Dereference pointers in Layer's Stringer impl
Dereference any fields which are pointers before string formatting so that the value pointed to ends up in the string representation. Tested: Added TestLayerStringFormat to //third_party/gvisor/test/packetimpact/testbench:testbench_test PiperOrigin-RevId: 305627821
Diffstat (limited to 'test/packetimpact/testbench/BUILD')
-rw-r--r--test/packetimpact/testbench/BUILD1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/packetimpact/testbench/BUILD b/test/packetimpact/testbench/BUILD
index 199823419..838a10ffe 100644
--- a/test/packetimpact/testbench/BUILD
+++ b/test/packetimpact/testbench/BUILD
@@ -36,4 +36,5 @@ go_test(
size = "small",
srcs = ["layers_test.go"],
library = ":testbench",
+ deps = ["//pkg/tcpip"],
)