Log unknown network protocol numbers

PiperOrigin-RevId: 460608202
This commit is contained in:
Nick Brown
2022-07-12 19:36:21 -07:00
committed by gVisor bot
parent 80b2614f1e
commit 69219fa35e
+1 -1
View File
@@ -244,7 +244,7 @@ func logPacket(prefix string, dir direction, protocol tcpip.NetworkProtocolNumbe
)
return
default:
log.Infof("%s%s unknown network protocol", prefix, directionPrefix)
log.Infof("%s%s unknown network protocol: %d", prefix, directionPrefix, protocol)
return
}