关闭Packet Log, 修正dup packet bytes

This commit is contained in:
luwenpeng
2024-01-03 18:55:20 +08:00
parent 6f07c2a8bf
commit 4e35c47324
2 changed files with 3 additions and 3 deletions

View File

@@ -11,12 +11,12 @@ extern "C"
#include "tuple.h"
#define PACKET_MAX_LAYERS 16
// #define PACKET_LOG_ERROR(format, ...) void(0)
#define PACKET_LOG_ERROR(format, ...) void(0)
#ifndef PACKET_LOG_ERROR
#define PACKET_LOG_ERROR(format, ...) \
fprintf(stderr, "ERROR (packet), " format "\n", ##__VA_ARGS__);
#endif
// #define PACKET_LOG_DEBUG(format, ...) void(0)
#define PACKET_LOG_DEBUG(format, ...) void(0)
#ifndef PACKET_LOG_DEBUG
#define PACKET_LOG_DEBUG(format, ...) \
fprintf(stderr, "DEBUG (packet), " format "\n", ##__VA_ARGS__);