summaryrefslogtreecommitdiff
path: root/src/tsg_send_log.cpp
diff options
context:
space:
mode:
authorliuxueli <[email protected]>2021-08-14 10:41:25 +0800
committerliuxueli <[email protected]>2021-08-14 10:41:25 +0800
commitb6b2525fe9b50194eb7fee928542d2669ddd7796 (patch)
tree4ac0040f3163285cad8fcb81eab9b75431396d43 /src/tsg_send_log.cpp
parent8de7ddb6b2f29bceb7d09fca013e6777087374bc (diff)
TSG-7397: IP+DNS的DROP动作在MACOS下无效果
修复笔误
Diffstat (limited to 'src/tsg_send_log.cpp')
-rw-r--r--src/tsg_send_log.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tsg_send_log.cpp b/src/tsg_send_log.cpp
index d9a4a35..31c5bf5 100644
--- a/src/tsg_send_log.cpp
+++ b/src/tsg_send_log.cpp
@@ -69,7 +69,7 @@ static int string_cat(char *dst, int dst_len, char *src)
(object)->AddMember(temp_key, (val), (handle)->document->GetAllocator()); \
}
-static int copy_rapidjdon(struct TLD_handle_t *_handle, char *field_name, const char *json_string)
+static int copy_rapidjson(struct TLD_handle_t *_handle, char *field_name, const char *json_string)
{
Document nest_document;
nest_document.Parse(json_string);
@@ -933,7 +933,7 @@ int set_nat_linkinfo(struct tsg_log_instance_t *_instance, struct TLD_handle_t *
return 0;
}
- copy_rapidjdon(_handle, field_name, nat_linkinfo);
+ copy_rapidjson(_handle, field_name, nat_linkinfo);
return 0;
}