Skip to content

Commit

Permalink
Grrr
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick-dmxc committed May 10, 2024
1 parent ec34598 commit 9cea558
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions ArtNetSharp/ArtNet.cs
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ private void ProcessReceivedData(UdpReceiveResult result)
var nic = networkClients.Values.FirstOrDefault(n => Tools.IsInSubnet(n.LocalIpAddress,n.IPv4Mask, sourceIp));
if (nic != null)
{
Logger?.LogTrace($"Process Packet Local:{nic.LocalIpAddress}, Mask: {nic.IPv4Mask}, Remote: {sourceIp}");
//Logger?.LogTrace($"Process Network Packet:{packet} {Environment.NewLine} Local:{nic.LocalIpAddress}, Mask: {nic.IPv4Mask}, Remote: {sourceIp}");
processPacket(packet, nic.LocalIpAddress, sourceIp);
}
return;
Expand All @@ -407,9 +407,9 @@ private void ProcessReceivedData(UdpReceiveResult result)
}
private void processPacket(AbstractArtPacketCore packet, IPv4Address localIp, IPv4Address sourceIp)
{
//#if DEBUG
// Logger.LogTrace($"Received Packet from {sourceIp} -> {packet}");
//#endif
#if DEBUG
Logger.LogTrace($"Received Packet from {sourceIp} -> {packet}");
#endif
foreach (var inst in instances) try
{
((IInstance)inst.Value).PacketReceived(packet, localIp, sourceIp);
Expand Down
6 changes: 3 additions & 3 deletions ArtNetTests/TestOS.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public void OneTimeTearDown()
Trace.Flush();
}

[Test, Order(1)]
[Test, Order(101)]
#pragma warning disable CS0618 // Typ oder Element ist veraltet
[Timeout(10000)]
#pragma warning restore CS0618 // Typ oder Element ist veraltet
Expand All @@ -54,7 +54,7 @@ public async Task TestOnLinux()
await doTests();
}

[Test, Order(2)]
[Test, Order(102)]
#pragma warning disable CS0618 // Typ oder Element ist veraltet
[Timeout(10000)]
#pragma warning restore CS0618 // Typ oder Element ist veraltet
Expand All @@ -67,7 +67,7 @@ public async Task TestOnWindows()
await doTests();
}

[Test, Order(3)]
[Test, Order(103)]
#pragma warning disable CS0618 // Typ oder Element ist veraltet
[Timeout(10000)]
#pragma warning restore CS0618 // Typ oder Element ist veraltet
Expand Down

0 comments on commit 9cea558

Please sign in to comment.