From 06b600e3f545c3dfa13b714b7d2fe68152822295 Mon Sep 17 00:00:00 2001 From: liuxueli Date: Mon, 12 Jul 2021 17:29:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=91=BD=E4=B8=ADDENY=E7=AD=96=E7=95=A5?= =?UTF-8?q?=E5=90=8E:=E5=B9=B6=E8=81=94=E7=8E=AF=E5=A2=83=E4=BB=85?= =?UTF-8?q?=E5=AF=B9=E8=AF=B7=E6=B1=82=E5=8C=85=E5=8F=91=E6=AC=BA=E9=AA=97?= =?UTF-8?q?=E5=8C=85=E5=8F=8A=E6=97=A5=E5=BF=97=EF=BC=8C=E4=B8=B2=E8=81=94?= =?UTF-8?q?=E7=8E=AF=E5=A2=83=E4=B8=A2=E5=BC=83=E7=9C=9F=E5=AE=9E=E5=BA=94?= =?UTF-8?q?=E7=AD=94=E5=8C=85=E5=B9=B6=E5=8F=91=E9=80=81=E4=BC=AA=E9=80=A0?= =?UTF-8?q?=E5=BA=94=E7=AD=94=E6=AC=BA=E9=AA=97=E5=8C=85=E5=8F=8A=E6=97=A5?= =?UTF-8?q?=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/fw_dns_plug.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/fw_dns_plug.cpp b/src/fw_dns_plug.cpp index 96ea32a..00b793d 100644 --- a/src/fw_dns_plug.cpp +++ b/src/fw_dns_plug.cpp @@ -523,7 +523,10 @@ extern "C" char FW_DNS_PLUG_ENTRY(stSessionInfo* session_info, void **pme, int if(p_result!=NULL) { 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 {