Only dumps packet data if it is present.