minor adjustments

This commit is contained in:
Arthur Passos 2022-07-12 19:27:44 -03:00
parent 381d60c510
commit cb349c05c5
2 changed files with 2 additions and 2 deletions

View File

@ -525,7 +525,7 @@ bool AllowedClientHosts::contains(const IPAddress & client_address) const
return true;
/// Check `name_regexps`.
std::optional<std::vector<String>> resolved_hosts;
std::optional<Strings> resolved_hosts;
auto check_name_regexp = [&](const String & name_regexp_)
{
try

View File

@ -8,7 +8,7 @@ namespace DB {
/*
* Implements reverse DNS resolution using c-ares lib. System reverse DNS resolution via
* gethostbyaddr or getnameinfo does not work reliably as in some systems
* gethostbyaddr or getnameinfo does not work reliably because in some systems
* it returns all PTR records for a given IP and in others it returns only one.
* */
class CaresPTRResolver : public DNSPTRResolver {