Fix a bug in flooding in sendPacketOut.