Convert stream preflight checks to bullet points
This commit is contained in:
parent
a838d09fbd
commit
cfa7d80f7b
@ -1236,15 +1236,15 @@ void StreamConfigDialog::on_pbOk_clicked()
|
||||
if ((mPort.transmitMode() == OstProto::kInterleavedTransmit)
|
||||
&& (mpStream->isFrameVariable()))
|
||||
{
|
||||
log += "In 'Interleaved Streams' transmit mode, the count for "
|
||||
log += "* In 'Interleaved Streams' transmit mode, the count for "
|
||||
"varying fields at transmit time may not be same as configured\n";
|
||||
}
|
||||
|
||||
if (!mPort.trackStreamStats()
|
||||
&& mpStream->hasProtocol(OstProto::Protocol::kSignFieldNumber))
|
||||
{
|
||||
log += "Stream contains special signature, but per stream statistics "
|
||||
"will not be available till it is enabled on the port.\n";
|
||||
log += "* Stream contains special signature, but per stream statistics "
|
||||
"will not be available till it is enabled on the port\n";
|
||||
}
|
||||
|
||||
mpStream->preflightCheck(log);
|
||||
|
@ -611,8 +611,8 @@ bool StreamBase::preflightCheck(QString &result) const
|
||||
|
||||
if (chkTrunc && (pktLen < (frameProtocolLength(i) + kFcsSize)))
|
||||
{
|
||||
result += QString("One or more frames may be truncated - "
|
||||
"frame length should be at least %1.\n")
|
||||
result += QString("* One or more frames may be truncated - "
|
||||
"frame length should be at least %1\n")
|
||||
.arg(frameProtocolLength(i) + kFcsSize);
|
||||
chkTrunc = false;
|
||||
pass = false;
|
||||
@ -620,8 +620,8 @@ bool StreamBase::preflightCheck(QString &result) const
|
||||
|
||||
if (chkJumbo && (pktLen > 1522))
|
||||
{
|
||||
result += QString("Jumbo frames may be truncated or dropped "
|
||||
"if not supported by the hardware.\n");
|
||||
result += QString("* Jumbo frames may be truncated or dropped "
|
||||
"if not supported by the hardware\n");
|
||||
chkJumbo = false;
|
||||
pass = false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user