dns_conf: fix speed-check-mode option incorrect issue.

This commit is contained in:
Nick Peng
2022-11-20 00:33:05 +08:00
parent ad4c2144da
commit bea238e7ae
2 changed files with 2 additions and 0 deletions

View File

@@ -1175,6 +1175,7 @@ static int _config_speed_check_mode_parser(struct dns_domain_check_orders *check
int i = 0;
safe_strncpy(tmpbuff, mode, DNS_MAX_OPT_LEN);
memset(check_orders, 0, sizeof(*check_orders));
ptr = tmpbuff;
do {