TSG-17290: 支持输出OS fingerprint日志字段(common_client_os_name,common_server_os_name)

This commit is contained in:
刘学利
2023-10-13 07:43:27 +00:00
parent 34834d1a67
commit f7ab3c92ae
12 changed files with 72754 additions and 16 deletions

View File

@@ -1727,6 +1727,16 @@ int set_session_attributes(struct tsg_log_instance_t *_instance, struct TLD_hand
TLD_append(_handle, _instance->id2field[LOG_COMMON_TUNNELS_ENDPOINT_B_DESC].name, (void *)srt_attribute->server_endpoint->description, TLD_TYPE_STRING);
}
if(srt_attribute->client_os!=NULL)
{
TLD_append(_handle, _instance->id2field[LOG_COMMON_CLIENT_OS_NAME].name, (void *)srt_attribute->client_os, TLD_TYPE_STRING);
}
if(srt_attribute->server_os!=NULL)
{
TLD_append(_handle, _instance->id2field[LOG_COMMON_SERVER_OS_NAME].name, (void *)srt_attribute->server_os, TLD_TYPE_STRING);
}
return 1;
}