summaryrefslogtreecommitdiff
path: root/src/dns.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dns.cpp')
-rw-r--r--src/dns.cpp2
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},