mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 04:17:34 +02:00
Brute force it with isDomainServer()
This commit is contained in:
parent
0627099667
commit
bbcb07d9ab
1 changed files with 3 additions and 2 deletions
|
@ -314,9 +314,10 @@ bool LimitedNodeList::packetSourceAndHashMatchAndTrackBandwidth(const udt::Packe
|
||||||
QUuid sourceID = sourceNode ? sourceNode->getUUID() : QUuid();
|
QUuid sourceID = sourceNode ? sourceNode->getUUID() : QUuid();
|
||||||
|
|
||||||
if (!sourceNode &&
|
if (!sourceNode &&
|
||||||
|
!isDomainServer() &&
|
||||||
|
sourceLocalID == getDomainLocalID() &&
|
||||||
packet.getSenderSockAddr() == getDomainSockAddr() &&
|
packet.getSenderSockAddr() == getDomainSockAddr() &&
|
||||||
PacketTypeEnum::getDomainSourcedPackets().contains(headerType) &&
|
PacketTypeEnum::getDomainSourcedPackets().contains(headerType)) {
|
||||||
sourceLocalID == getDomainLocalID()) {
|
|
||||||
// This is a packet sourced by the domain server
|
// This is a packet sourced by the domain server
|
||||||
|
|
||||||
emit dataReceived(NodeType::Unassigned, packet.getPayloadSize());
|
emit dataReceived(NodeType::Unassigned, packet.getPayloadSize());
|
||||||
|
|
Loading…
Reference in a new issue