summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/socket/netstack/provider.go
diff options
context:
space:
mode:
authorKevin Krakauer <krakauer@google.com>2020-05-06 13:36:48 -0700
committergVisor bot <gvisor-bot@google.com>2020-05-06 13:38:36 -0700
commitb08222cf3a80a57e77ac4af7a410f188ba01e0f4 (patch)
tree5abbbda1333fc0ef675540e35ff066656dc8d8f3 /pkg/sentry/socket/netstack/provider.go
parent4631de620a2534f6f89f6252269f650e78d11b99 (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/sentry/socket/netstack/provider.go')
0 files changed, 0 insertions, 0 deletions