bugfix:适配结构体session_attribute_label名称变更和修改宏MAX_DOAMIN_LEN为MAX_DOMAIN_LEN
This commit is contained in:
@@ -115,8 +115,8 @@ struct pme_info{
|
||||
char stream_traceid[24];
|
||||
//cjson check protocol
|
||||
union{
|
||||
char host[MAX_DOAMIN_LEN]; //http only
|
||||
char sni[MAX_DOAMIN_LEN]; //ssl only
|
||||
char host[MAX_DOMAIN_LEN]; //http only
|
||||
char sni[MAX_DOMAIN_LEN]; //ssl only
|
||||
}domain;
|
||||
int domain_len;
|
||||
//tfe_release = 1: tfe don't need pmeinfo
|
||||
@@ -150,7 +150,7 @@ struct pme_info{
|
||||
//for proxy tcp option
|
||||
struct proxy_tcp_option pxy_tcp_option;
|
||||
int pxy_tcp_option_is_scan;
|
||||
struct _session_attribute_label_t *session_attribute_label;
|
||||
struct session_attribute_label *session_attribute;
|
||||
};
|
||||
|
||||
struct wrapped_packet{
|
||||
@@ -177,7 +177,7 @@ struct kni_marsio_handle{
|
||||
|
||||
struct protocol_identify_result{
|
||||
int protocol;
|
||||
char domain[MAX_DOAMIN_LEN];
|
||||
char domain[MAX_DOMAIN_LEN];
|
||||
int domain_len;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user