Commit de368cdf authored by Ondřej Surý's avatar Ondřej Surý

Merge branch 'u/fanf2/rndc-validation-status-views' into 'master'

Include all views in output of `rndc validation status`

See merge request !2461
parents ebbe1997 a7bcca50
Pipeline #24524 passed with stages
in 2 minutes
5311. [cleanup] Include all views in output of `rndc validation status`.
Thanks to Tony Finch. [GL !2461]
5310. [bug] TCP failures were affecting EDNS statistics. [GL #1059]
5309. [placeholder]
......
......@@ -11078,7 +11078,8 @@ named_server_validation(named_server_t *server, isc_lex_t *lex,
view != NULL;
view = ISC_LIST_NEXT(view, link))
{
if (ptr != NULL && strcasecmp(ptr, view->name) != 0)
if ((ptr != NULL && strcasecmp(ptr, view->name) != 0)
|| strcasecmp("_bind", view->name) == 0)
continue;
CHECK(dns_view_flushcache(view, false));
......@@ -11094,10 +11095,10 @@ named_server_validation(named_server_t *server, isc_lex_t *lex,
CHECK(putstr(text, " (view "));
CHECK(putstr(text, view->name));
CHECK(putstr(text, ")"));
CHECK(putnull(text));
first = false;
}
}
CHECK(putnull(text));
if (!set)
result = ISC_R_SUCCESS;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment