mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Correctly log sniffed ARP packets
This condition was inverted in 360006d.
PiperOrigin-RevId: 348679088
This commit is contained in:
committed by
gVisor bot
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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user