diff --git a/entry/src/kni_entry.cpp b/entry/src/kni_entry.cpp index 5181d0c..a21d683 100644 --- a/entry/src/kni_entry.cpp +++ b/entry/src/kni_entry.cpp @@ -33,7 +33,6 @@ struct kni_handle *g_kni_handle = NULL; struct kni_field_stat_handle *g_kni_fs_handle = NULL; #define BURST_MAX 1 -#define STREAM_TRACEID_LEN 37 #define CALLER_SAPP 0 #define CALLER_TFE 1 diff --git a/entry/src/kni_tun.cpp b/entry/src/kni_tun.cpp index ac6a917..284b157 100644 --- a/entry/src/kni_tun.cpp +++ b/entry/src/kni_tun.cpp @@ -85,7 +85,7 @@ int kni_tun_read(struct kni_tun_handle *handle, char *buff, uint16_t buff_len){ return 0; } } - KNI_LOG_ERROR(handle -> logger, "Failed at read, error = %d(%s)", errno, strerror(errno)); + KNI_LOG_ERROR(handle->logger, "Failed at read, error = %d(%s)", errno, strerror(errno)); } return ret; } \ No newline at end of file