summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author“pengxuanzheng” <[email protected]>2022-01-20 06:39:23 +0000
committer刘学利 <[email protected]>2022-04-01 03:52:55 +0000
commit5a2181eb1ea8476f1b60f9babb7fcc82fe83dd00 (patch)
tree56e8f7436450e8025392b751d86d1c31293b6af6
parente6075ce810873145e978c9bc7c5f4fcd44ab4794 (diff)
🐞 fix(TSG-9466): 命中monitor时,先notify命中monitor结果,然后再发送日志
-rw-r--r--.gitignore17
-rw-r--r--src/fw_dns_plug.cpp2
2 files changed, 18 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..127aad1
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,17 @@
+SI/
+*.log
+*.o
+*.so
+*.si4project/
+*.a
+*.d
+build/
+.vscode
+.idea
+core.*
+cmake-build-*
+GPATH
+GTAGS
+GRTAGS
+src/tags
+version.txt \ No newline at end of file
diff --git a/src/fw_dns_plug.cpp b/src/fw_dns_plug.cpp
index d78a93f..f3a2f23 100644
--- a/src/fw_dns_plug.cpp
+++ b/src/fw_dns_plug.cpp
@@ -242,8 +242,8 @@ extern "C" char FW_DNS_PLUG_ENTRY(stSessionInfo* session_info, void **pme, int
}
else
{
- fw_dns_send_log(a_stream, dns_info, result, hit_num, thread_seq);
tsg_notify_hited_monitor_result(a_stream, result, hit_num, thread_seq);
+ fw_dns_send_log(a_stream, dns_info, result, hit_num, thread_seq);
}
}