minor: Fix and elaborate on log information printed when an unrecognized estate method is received from the client.
parent
470f8d3c04
commit
9d3b68411a
|
@ -9061,7 +9061,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
switch (Utils.BytesToString(messagePacket.MethodData.Method))
|
string method = Utils.BytesToString(messagePacket.MethodData.Method);
|
||||||
|
|
||||||
|
switch (method)
|
||||||
{
|
{
|
||||||
case "getinfo":
|
case "getinfo":
|
||||||
if (((Scene)m_scene).Permissions.CanIssueEstateCommand(AgentId, false))
|
if (((Scene)m_scene).Permissions.CanIssueEstateCommand(AgentId, false))
|
||||||
|
@ -9377,7 +9379,17 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
m_log.Error("EstateOwnerMessage: Unknown method requested\n" + messagePacket);
|
m_log.WarnFormat(
|
||||||
|
"[LLCLIENTVIEW]: EstateOwnerMessage: Unknown method {0} requested for {1} in {2}",
|
||||||
|
method, Name, Scene.Name);
|
||||||
|
|
||||||
|
for (int i = 0; i < messagePacket.ParamList.Length; i++)
|
||||||
|
{
|
||||||
|
EstateOwnerMessagePacket.ParamListBlock block = messagePacket.ParamList[i];
|
||||||
|
string data = (string)Utils.BytesToString(block.Parameter);
|
||||||
|
m_log.DebugFormat("[LLCLIENTVIEW]: Param {0}={1}", i, data);
|
||||||
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue