fix UDPBuffersPoolCount value (readable with stats show clientstack

UbitUmarov [2019-02-26 00:43:44]
fix UDPBuffersPoolCount value (readable with stats show clientstack
Filename
OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs
index e931f3b..ba5a2f3 100644
--- a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs
+++ b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs
@@ -687,7 +687,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
                     "clientstack",
                     Scene.Name,
                     StatType.Pull,
-                    stat => stat.Value = m_udpBuffersPoolPtr,
+                    stat => stat.Value = m_udpBuffersPoolPtr + 1,
                     StatVerbosity.Debug));

             LLUDPServerCommands commands = new LLUDPServerCommands(MainConsole.Instance, this);
@@ -1582,7 +1582,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP
                         {
                             m_log.DebugFormat("[LLUDPSERVER]: Client created but no pending queue present");
                             return;
-
                         }
                         m_pendingCache.Remove(endPoint);
                     }
ViewGit