diff options
author | ComputeryPony <39446931+ComputeryPony@users.noreply.github.com> | 2023-06-27 12:56:35 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-27 12:56:35 -0500 |
commit | 1c20198280786a5854c4bd48ac413ecdfa1b637b (patch) | |
tree | fd7baf5c04a01be5e08b4bc18fa66ce382a27ba4 /src | |
parent | Merge pull request #8884 (diff) | |
download | monero-1c20198280786a5854c4bd48ac413ecdfa1b637b.tar.xz |
Fixup error message.
Looks like the extra MWARNING was supposed to be guarded by the if statement.
Diffstat (limited to 'src')
-rw-r--r-- | src/common/dns_utils.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/dns_utils.cpp b/src/common/dns_utils.cpp index ce4555ae3..9c10c420c 100644 --- a/src/common/dns_utils.cpp +++ b/src/common/dns_utils.cpp @@ -339,8 +339,10 @@ std::vector<std::string> DNSResolver::get_record(const std::string& url, int rec dnssec_available = (result->secure || result->bogus); dnssec_valid = result->secure && !result->bogus; if (dnssec_available && !dnssec_valid) + { MWARNING("Invalid DNSSEC " << get_record_name(record_type) << " record signature for " << url << ": " << result->why_bogus); MWARNING("Possibly your DNS service is problematic. You can have monerod use an alternate via env variable DNS_PUBLIC. Example: DNS_PUBLIC=tcp://9.9.9.9"); + } if (result->havedata) { for (size_t i=0; result->data[i] != NULL; i++) |