summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/stack/BUILD
diff options
context:
space:
mode:
authorGhanan Gowripalan <ghanan@google.com>2020-07-30 12:48:18 -0700
committergVisor bot <gvisor-bot@google.com>2020-07-30 12:50:02 -0700
commitb00858d075fbc39c6fb2db9f903ac14f197566bd (patch)
tree30bcd5acc64d5f90e78d09429f5b8255c0e6141f /pkg/tcpip/stack/BUILD
parentbc8201d01bc98e9db4009d250454c5fe73c5d2b4 (diff)
Use brodcast MAC for broadcast IPv4 packets
When sending packets to a known network's broadcast address, use the broadcast MAC address. Test: - stack_test.TestOutgoingSubnetBroadcast - udp_test.TestOutgoingSubnetBroadcast PiperOrigin-RevId: 324062407
Diffstat (limited to 'pkg/tcpip/stack/BUILD')
-rw-r--r--pkg/tcpip/stack/BUILD1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/tcpip/stack/BUILD b/pkg/tcpip/stack/BUILD
index 6b9a6b316..2b4455318 100644
--- a/pkg/tcpip/stack/BUILD
+++ b/pkg/tcpip/stack/BUILD
@@ -110,6 +110,7 @@ go_test(
"//pkg/tcpip/transport/udp",
"//pkg/waiter",
"@com_github_google_go_cmp//cmp:go_default_library",
+ "@com_github_google_go_cmp//cmp/cmpopts:go_default_library",
],
)