summaryrefslogtreecommitdiff
path: root/src/tsg_rule.cpp
diff options
context:
space:
mode:
authorliuxueli <[email protected]>2022-02-23 18:43:00 +0800
committerliuxueli <[email protected]>2022-02-23 18:43:00 +0800
commitd7e4d0b62a08366d65c266f91fe0b6ea6e38aa37 (patch)
treed5de6d5635af90fa5ffeedc8d7c88da6e971f155 /src/tsg_rule.cpp
parent1979c2dabde50bb31661c2de7308c1b03ff5a921 (diff)
TSG-9700: 支持优雅退出
Diffstat (limited to 'src/tsg_rule.cpp')
-rw-r--r--src/tsg_rule.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tsg_rule.cpp b/src/tsg_rule.cpp
index 7c64cc8..ee5855b 100644
--- a/src/tsg_rule.cpp
+++ b/src/tsg_rule.cpp
@@ -820,7 +820,7 @@ static int parse_answer_records(struct dns_user_region *user_region_records, cJS
}
answer_type=get_dns_qtype(a_item->valuestring, strlen(a_item->valuestring));
- switch(answer_type==-1)
+ if(answer_type==-1)
{
continue;
}