aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
index 14d98d4..f37db36 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
@@ -453,6 +453,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
453 ack_it.Packets = new PacketAckPacket.PacketsBlock[1]; 453 ack_it.Packets = new PacketAckPacket.PacketsBlock[1];
454 ack_it.Packets[0] = new PacketAckPacket.PacketsBlock(); 454 ack_it.Packets[0] = new PacketAckPacket.PacketsBlock();
455 ack_it.Packets[0].ID = useCircuit.Header.Sequence; 455 ack_it.Packets[0].ID = useCircuit.Header.Sequence;
456 // ((useCircuit.Header.Sequence < uint.MaxValue) ? useCircuit.Header.Sequence : 0) is just a failsafe to ensure that we don't overflow.
457 ack_it.Header.Sequence = ((useCircuit.Header.Sequence < uint.MaxValue) ? useCircuit.Header.Sequence : 0) + 1;
456 ack_it.Header.Reliable = false; 458 ack_it.Header.Reliable = false;
457 SendPacketTo(ack_it.ToBytes(), ack_it.ToBytes().Length, SocketFlags.None, useCircuit.CircuitCode.Code); 459 SendPacketTo(ack_it.ToBytes(), ack_it.ToBytes().Length, SocketFlags.None, useCircuit.CircuitCode.Code);
458 460