Correctly log sniffed ARP packets

This condition was inverted in 360006d.

PiperOrigin-RevId: 348679088
This commit is contained in:
Tamir Duberstein
2020-12-22 12:52:19 -08:00
committed by gVisor bot
parent fee2cd640f
commit 202e9fa369
+1 -1
View File
@@ -263,7 +263,7 @@ func logPacket(prefix string, dir direction, protocol tcpip.NetworkProtocolNumbe
fragmentOffset = fragOffset
case header.ARPProtocolNumber:
if parse.ARP(pkt) {
if !parse.ARP(pkt) {
return
}