improve unknown pkg logging

This commit is contained in:
Green Sky 2023-08-17 12:23:26 +02:00
parent 2c152b8574
commit 8bdc4f4ecf
No known key found for this signature in database

View File

@ -62,7 +62,11 @@ bool ZoxNGCEventProvider::onZoxGroupEvent(
} else if (version == 0x01 && pkt_id == 0x11) {
std::cout << "ZOX waring: ngc_ft not implemented\n";
} else {
std::cout << "ZOX waring: unknown packet v" << (int)version << " id" << (int)pkt_id <<"\n";
std::cout << "ZOX waring: unknown packet v"
<< (int)version
<< " id" << (int)pkt_id
<< " s:" << data_size
<< "\n";
}
return false;