This commit is contained in:
aozhiwei 2024-05-06 11:43:40 +08:00
parent 75c325d55e
commit ec25b5a13a

View File

@ -42,6 +42,7 @@ public:
is_activite = true;
#endif
bool warning = false;
while (buflen - offset >= sizeof(f8::WSProxyPackHead_C)) {
f8::WSProxyPackHead_C* p = (f8::WSProxyPackHead_C*)&buf[offset];
if (p->magic_code == f8::MAGIC_CODE) {
@ -66,7 +67,7 @@ public:
}
if (warning) {
f8::UdpLog::Instance()->Warning("收到client非法数据包", {});
f8::UdpLog::Instance()->Warning("收到client非法数据包 buflen:%d", {buflen});
}
}