2 Commits

2 changed files with 6 additions and 3 deletions

View File

@@ -523,7 +523,10 @@ extern "C" char FW_DNS_PLUG_ENTRY(stSessionInfo* session_info, void **pme, int
if(p_result!=NULL) if(p_result!=NULL)
{ {
state=fw_dns_action(a_stream, dns_info, p_result, a_packet); state=fw_dns_action(a_stream, dns_info, p_result, a_packet);
fw_dns_send_log(a_stream, dns_info, p_result, 1, thread_seq); if(state!=PROT_STATE_GIVEME)
{
fw_dns_send_log(a_stream, dns_info, p_result, 1, thread_seq);
}
} }
else else
{ {

View File

@@ -32,8 +32,8 @@ struct dns_records
int record_num; int record_num;
int is_valid; int is_valid;
int table_id; int table_id;
char record_type[128]; char record_type[129];
char record_name[MAX_TABLE_NAME_LEN]; char record_name[129];
void **record_values; void **record_values;
}; };