2 Commits

2 changed files with 6 additions and 3 deletions

View File

@@ -523,8 +523,11 @@ 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);
if(state!=PROT_STATE_GIVEME)
{
fw_dns_send_log(a_stream, dns_info, p_result, 1, thread_seq); fw_dns_send_log(a_stream, dns_info, p_result, 1, thread_seq);
} }
}
else else
{ {
fw_dns_send_log(a_stream, dns_info, result, hit_num, thread_seq); fw_dns_send_log(a_stream, dns_info, result, hit_num, thread_seq);

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;
}; };