mirror of
https://github.com/overte-org/overte.git
synced 2025-07-05 08:09:50 +02:00
fix suppression of packet from unknown node
This commit is contained in:
parent
0023016447
commit
f06e4eaae9
1 changed files with 2 additions and 1 deletions
|
@ -242,8 +242,9 @@ bool LimitedNodeList::packetSourceAndHashMatch(const udt::Packet& packet) {
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
static const QString UNKNOWN_REGEX = "Packet of type \\d+ \\([\\sa-zA-Z:]+\\) received from unknown node with UUID";
|
||||||
static QString repeatedMessage
|
static QString repeatedMessage
|
||||||
= LogHandler::getInstance().addRepeatedMessageRegex("Packet of type \\d+ \\([\\sa-zA-Z]+\\) received from unknown node with UUID");
|
= LogHandler::getInstance().addRepeatedMessageRegex(UNKNOWN_REGEX);
|
||||||
|
|
||||||
qCDebug(networking) << "Packet of type" << headerType
|
qCDebug(networking) << "Packet of type" << headerType
|
||||||
<< "received from unknown node with UUID" << qPrintable(uuidStringWithoutCurlyBraces(sourceID));
|
<< "received from unknown node with UUID" << qPrintable(uuidStringWithoutCurlyBraces(sourceID));
|
||||||
|
|
Loading…
Reference in a new issue