diff options
author | Ghanan Gowripalan <ghanan@google.com> | 2020-07-30 12:48:18 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-07-30 12:50:02 -0700 |
commit | b00858d075fbc39c6fb2db9f903ac14f197566bd (patch) | |
tree | 30bcd5acc64d5f90e78d09429f5b8255c0e6141f /pkg/syncevent/receiver.go | |
parent | bc8201d01bc98e9db4009d250454c5fe73c5d2b4 (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/syncevent/receiver.go')
0 files changed, 0 insertions, 0 deletions