LookupServer: Remove debug spam about /etc/hosts

This commit is contained in:
Andreas Kling 2019-10-16 12:10:33 +02:00
parent 3a4da5aa05
commit 7e97e1c5d9
Notes: sideshowbarker 2024-07-19 11:40:47 +09:00

View file

@ -162,12 +162,8 @@ int main(int argc, char** argv)
Vector<String> responses;
for (auto& key : dns_custom_hostnames.keys()) {
dbgprintf("Known hostname: '%s'\n", key.characters());
}
if (auto known_host = dns_custom_hostnames.get(hostname)) {
responses.append(known_host.value());
dbg() << "LookupServer: Found preconfigured host (from /etc/hosts): " << known_host.value();
} else if (!hostname.is_empty()) {
bool did_timeout;
int retries = 3;