Correctly log sniffed ARP packets
This condition was inverted in 360006d
.
PiperOrigin-RevId: 348679088
This commit is contained in:
parent
fee2cd640f
commit
202e9fa369
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue