Get Logs::Client_Server_Packet_Unhandled to show raw opcodes

This commit is contained in:
Akkadius
2015-02-01 19:56:32 -06:00
parent f9ba99e99f
commit 774e429d87
3 changed files with 19 additions and 13 deletions
+3
View File
@@ -94,6 +94,9 @@ std::string DumpPacketHexToString(const uchar* buf, uint32 size, uint32 cols, ui
std::ostringstream out;
if (size == 0 || size > 39565)
return "";
out << "\n";
// Output as HEX
char output[4];
int j = 0;