diff options
| author | Junzy <[email protected]> | 2024-08-26 18:19:47 +0800 |
|---|---|---|
| committer | Junzy <[email protected]> | 2024-08-26 18:19:47 +0800 |
| commit | fd5f7e30d91495fec0f8943ac5ca360848f5f76b (patch) | |
| tree | c7ce025fc9129c09b263502f91633d26fd4898ec /src/nat_format.h | |
| parent | f1506cb47e07da4f007a3fe16ca64ebddf587f4e (diff) | |
update src: fix syntax error
Diffstat (limited to 'src/nat_format.h')
| -rw-r--r-- | src/nat_format.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nat_format.h b/src/nat_format.h index 33c773c..a7dd592 100644 --- a/src/nat_format.h +++ b/src/nat_format.h @@ -27,7 +27,7 @@ struct nat_format_global_info { int32_t dp_syslog_port; int32_t dp_binary_port; - char root_log_path[256]; + char log_path[256]; u_int32_t log_level; void *log; }; @@ -35,7 +35,7 @@ struct nat_format_global_info { // 格式化NAT报文载荷 struct nat_payload { unsigned int magic_num = FORMAT_LOG_MAGIC_NUMBER; - unsigned short magic_num = FORMAT_LOG_VERSION; + unsigned short version = FORMAT_LOG_VERSION; unsigned int fw_log_timestamp; unsigned int fw_ip; char action; |
