diff options
author | Melanie Thielker | 2009-06-23 08:51:35 +0000 |
---|---|---|
committer | Melanie Thielker | 2009-06-23 08:51:35 +0000 |
commit | 2d7dd5f63eab9833e7be635adc3e72ffa36392ac (patch) | |
tree | ce81a1ed702db76e74e8cbd0d538481ad15909bb /OpenSim/Region/ClientStack | |
parent | Fix the AssetServiceBase bug I introduced by reordering configuration load (diff) | |
download | opensim-SC-2d7dd5f63eab9833e7be635adc3e72ffa36392ac.zip opensim-SC-2d7dd5f63eab9833e7be635adc3e72ffa36392ac.tar.gz opensim-SC-2d7dd5f63eab9833e7be635adc3e72ffa36392ac.tar.bz2 opensim-SC-2d7dd5f63eab9833e7be635adc3e72ffa36392ac.tar.xz |
Correct an uninitialized field in a packet. Thanks, jhurliman.
Fixes Mantis #3831
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index 4514b1e..70e489c 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |||
@@ -1243,6 +1243,14 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
1243 | handshake.RegionInfo.TerrainDetail3 = args.terrainDetail3; | 1243 | handshake.RegionInfo.TerrainDetail3 = args.terrainDetail3; |
1244 | handshake.RegionInfo.CacheID = UUID.Random(); //I guess this is for the client to remember an old setting? | 1244 | handshake.RegionInfo.CacheID = UUID.Random(); //I guess this is for the client to remember an old setting? |
1245 | 1245 | ||
1246 | handshake.RegionInfo2.RegionID = regionInfo.RegionID; | ||
1247 | |||
1248 | handshake.RegionInfo3.ColoName = Utils.EmptyBytes; | ||
1249 | handshake.RegionInfo3.CPUClassID = 0; | ||
1250 | handshake.RegionInfo3.CPURatio = 0; | ||
1251 | handshake.RegionInfo3.ProductName = Utils.StringToBytes("OpenSim"); | ||
1252 | handshake.RegionInfo3.ProductSKU = Utils.EmptyBytes; | ||
1253 | |||
1246 | OutPacket(handshake, ThrottleOutPacketType.Task); | 1254 | OutPacket(handshake, ThrottleOutPacketType.Task); |
1247 | } | 1255 | } |
1248 | 1256 | ||