From 2d7dd5f63eab9833e7be635adc3e72ffa36392ac Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Tue, 23 Jun 2009 08:51:35 +0000 Subject: [PATCH] Correct an uninitialized field in a packet. Thanks, jhurliman. Fixes Mantis #3831 --- OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index 4514b1e2a7..70e489c742 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs @@ -1243,6 +1243,14 @@ namespace OpenSim.Region.ClientStack.LindenUDP handshake.RegionInfo.TerrainDetail3 = args.terrainDetail3; handshake.RegionInfo.CacheID = UUID.Random(); //I guess this is for the client to remember an old setting? + handshake.RegionInfo2.RegionID = regionInfo.RegionID; + + handshake.RegionInfo3.ColoName = Utils.EmptyBytes; + handshake.RegionInfo3.CPUClassID = 0; + handshake.RegionInfo3.CPURatio = 0; + handshake.RegionInfo3.ProductName = Utils.StringToBytes("OpenSim"); + handshake.RegionInfo3.ProductSKU = Utils.EmptyBytes; + OutPacket(handshake, ThrottleOutPacketType.Task); }