diff options
author | Justin Clark-Casey (justincc) | 2012-10-13 01:47:10 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-10-13 01:47:10 +0100 |
commit | dc460579fd94b2017e334e71ffd20d94a3dec425 (patch) | |
tree | 47fa4520012ec985aa03bf4e4e05c51bfe40d41a /OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |
parent | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff) | |
download | opensim-SC-dc460579fd94b2017e334e71ffd20d94a3dec425.zip opensim-SC-dc460579fd94b2017e334e71ffd20d94a3dec425.tar.gz opensim-SC-dc460579fd94b2017e334e71ffd20d94a3dec425.tar.bz2 opensim-SC-dc460579fd94b2017e334e71ffd20d94a3dec425.tar.xz |
minor: Fix and elaborate on log information printed when an unrecognized estate method is received from the client.
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index 2db8df2..0d4f09d 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -9063,7 +9063,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
9063 | } | 9063 | } |
9064 | #endregion | 9064 | #endregion |
9065 | 9065 | ||
9066 | switch (Utils.BytesToString(messagePacket.MethodData.Method)) | 9066 | string method = Utils.BytesToString(messagePacket.MethodData.Method); |
9067 | |||
9068 | switch (method) | ||
9067 | { | 9069 | { |
9068 | case "getinfo": | 9070 | case "getinfo": |
9069 | if (((Scene)m_scene).Permissions.CanIssueEstateCommand(AgentId, false)) | 9071 | if (((Scene)m_scene).Permissions.CanIssueEstateCommand(AgentId, false)) |
@@ -9379,7 +9381,17 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
9379 | return true; | 9381 | return true; |
9380 | 9382 | ||
9381 | default: | 9383 | default: |
9382 | m_log.Error("EstateOwnerMessage: Unknown method requested\n" + messagePacket); | 9384 | m_log.WarnFormat( |
9385 | "[LLCLIENTVIEW]: EstateOwnerMessage: Unknown method {0} requested for {1} in {2}", | ||
9386 | method, Name, Scene.Name); | ||
9387 | |||
9388 | for (int i = 0; i < messagePacket.ParamList.Length; i++) | ||
9389 | { | ||
9390 | EstateOwnerMessagePacket.ParamListBlock block = messagePacket.ParamList[i]; | ||
9391 | string data = (string)Utils.BytesToString(block.Parameter); | ||
9392 | m_log.DebugFormat("[LLCLIENTVIEW]: Param {0}={1}", i, data); | ||
9393 | } | ||
9394 | |||
9383 | return true; | 9395 | return true; |
9384 | } | 9396 | } |
9385 | 9397 | ||