bugfix:修改使用PRINTADDR导致kni coredump问题
This commit is contained in:
@@ -18,9 +18,6 @@
|
||||
|
||||
#define TSG_DIAGNOSE_POLICY_CNT 32
|
||||
|
||||
#ifndef PRINTADDR
|
||||
#define PRINTADDR(stream_info, log_level) ((log_level)<RLOG_LV_FATAL ? printaddr(&(stream_info->addr), stream_info->threadnum) : "")
|
||||
#endif
|
||||
|
||||
enum intercept_error{
|
||||
INTERCEPT_ERROR_ASYM_ROUTING = -1,
|
||||
@@ -100,6 +97,7 @@ struct proxy_tcp_option{
|
||||
|
||||
struct pme_info{
|
||||
addr_type_t addr_type;
|
||||
char stream_addr[KNI_ADDR_MAX];
|
||||
int do_log;
|
||||
int policy_id;
|
||||
tsg_protocol_t protocol;
|
||||
|
||||
Reference in New Issue
Block a user