mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-15 08:57:19 +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();
|
||||
|
||||
if (!sourceNode &&
|
||||
!isDomainServer() &&
|
||||
sourceLocalID == getDomainLocalID() &&
|
||||
packet.getSenderSockAddr() == getDomainSockAddr() &&
|
||||
PacketTypeEnum::getDomainSourcedPackets().contains(headerType) &&
|
||||
sourceLocalID == getDomainLocalID()) {
|
||||
PacketTypeEnum::getDomainSourcedPackets().contains(headerType)) {
|
||||
// This is a packet sourced by the domain server
|
||||
|
||||
emit dataReceived(NodeType::Unassigned, packet.getPayloadSize());
|
||||
|
|
Loading…
Reference in a new issue