Bugfix: Preflight check failure strings should not be repeated for each frame in the stream that fails
This commit is contained in:
parent
ad866e3025
commit
476bcd850a
@ -571,13 +571,18 @@ bool StreamBase::preflightCheck(QString &result) const
|
|||||||
"frame length should be at least %1.\n")
|
"frame length should be at least %1.\n")
|
||||||
.arg(frameProtocolLength(i) + kFcsSize);
|
.arg(frameProtocolLength(i) + kFcsSize);
|
||||||
pass = false;
|
pass = false;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
for (int i = 0; i < count; i++)
|
||||||
|
{
|
||||||
if (frameLen(i) > 1522)
|
if (frameLen(i) > 1522)
|
||||||
{
|
{
|
||||||
result += QString("Jumbo frames may be truncated or dropped "
|
result += QString("Jumbo frames may be truncated or dropped "
|
||||||
"if not supported by the hardware\n");
|
"if not supported by the hardware\n");
|
||||||
pass = false;
|
pass = false;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user