diff options
| author | 刘学利 <[email protected]> | 2020-10-12 16:36:58 +0800 |
|---|---|---|
| committer | 刘学利 <[email protected]> | 2020-10-12 16:36:58 +0800 |
| commit | b4385fd4e5bbfa00bfc616d4a4ba9ba892f34127 (patch) | |
| tree | cd97753d620ec87860399d2bad7cf05154a89413 /src/dns.cpp | |
| parent | fa67f2b70331a20ace72c3b6b8a0c2fbf13e1c5d (diff) | |
| parent | 480e220ec2ef947d38f655387402fa88509ce16e (diff) | |
Merge branch 'develop-export-version' into 'master'
修复BUG,声明全局变量长度与使用不一致导致ASAN报错
See merge request MESA_Platform/dns!9
Diffstat (limited to 'src/dns.cpp')
| -rw-r--r-- | src/dns.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dns.cpp b/src/dns.cpp index f38b53c..a33b80b 100644 --- a/src/dns.cpp +++ b/src/dns.cpp @@ -81,7 +81,7 @@ static dns_str_contrast_id_t DNS_FLAG_ID[] = {"DNS_RES_ADD", DNS_RES_ADD} }; -static dns_str_contrast_id_t DNS_STATIS_INFO[] = +static dns_str_contrast_id_t DNS_STATIS_INFO[DNS_MAX_FIELD_ID_NUM] = { {"V4_T_PPS", V4_T_PPS}, {"V4_T_BPS", V4_T_BPS}, |
