diff options
author | Kevin Krakauer <krakauer@google.com> | 2020-05-06 13:36:48 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-05-06 13:38:36 -0700 |
commit | b08222cf3a80a57e77ac4af7a410f188ba01e0f4 (patch) | |
tree | 5abbbda1333fc0ef675540e35ff066656dc8d8f3 /pkg/fdchannel/fdchannel_test.go | |
parent | 4631de620a2534f6f89f6252269f650e78d11b99 (diff) |
sniffer: fix accidental logging of good packets as bad
We need to check vv.Size() instead of len(tcp), as tcp will always be 20 bytes
long.
PiperOrigin-RevId: 310218351
Diffstat (limited to 'pkg/fdchannel/fdchannel_test.go')
0 files changed, 0 insertions, 0 deletions