diff options
| author | yangwei <[email protected]> | 2023-04-11 19:04:39 +0800 |
|---|---|---|
| committer | yangwei <[email protected]> | 2023-04-13 14:29:19 +0800 |
| commit | 71ec322759a8ce662f89e2399420d05839052725 (patch) | |
| tree | 1388b61ba832629f43195e4ab929dd70fc0e1814 /src/tsg_send_log.cpp | |
| parent | 3e9f0aa73044c39f6f5583e3c4c4f7c5c66cb9ab (diff) | |
🐞 fix(tsg send log): fix TSG-14567v6.0.3
会话日志将traffic vsys id作为vsys id发送
Diffstat (limited to 'src/tsg_send_log.cpp')
| -rw-r--r-- | src/tsg_send_log.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tsg_send_log.cpp b/src/tsg_send_log.cpp index d2e11ec..5d9632c 100644 --- a/src/tsg_send_log.cpp +++ b/src/tsg_send_log.cpp @@ -2173,6 +2173,7 @@ int tsg_send_log(struct tsg_log_instance_t *instance, struct TLD_handle_t *handl TLD_append(_handle, _instance->id2field[LOG_COMMON_DATA_CENTER].name, (void *)tsg_data_center_get(), TLD_TYPE_STRING); TLD_append(_handle, _instance->id2field[LOG_COMMON_DEVICE_TAG].name, (void *)tsg_device_tag_get(), TLD_TYPE_STRING); TLD_append(_handle, _instance->id2field[LOG_COMMON_TRAFFIC_VSYSTEM_ID].name, (void *)(long)_instance->vsystem_id, TLD_TYPE_LONG); + TLD_append(_handle, _instance->id2field[LOG_COMMON_VSYSTEM_ID].name, (void *)(long)_instance->vsystem_id, TLD_TYPE_LONG); set_application_behavior(_instance, _handle, a_stream); |
