aboutsummaryrefslogtreecommitdiff
path: root/src/common/dns_utils.h
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2023-01-11 11:41:56 -0500
committerluigi1111 <luigi1111w@gmail.com>2023-01-11 11:41:56 -0500
commit153819fc4ce8b2af1f4593ba139ee4c86ff310c8 (patch)
tree8fc3fd65ba42e6f7ca09e8972841be48d34d4d49 /src/common/dns_utils.h
parentMerge pull request #8644 (diff)
parentDNSResolver: fix not handling hostnames without dot characters [release] (diff)
downloadmonero-153819fc4ce8b2af1f4593ba139ee4c86ff310c8.tar.xz
Merge pull request #8649
2c24322 DNSResolver: fix not handling hostnames without dot characters [release] (Jeffrey Ryan)
Diffstat (limited to 'src/common/dns_utils.h')
-rw-r--r--src/common/dns_utils.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/common/dns_utils.h b/src/common/dns_utils.h
index f9507b42a..81079ba30 100644
--- a/src/common/dns_utils.h
+++ b/src/common/dns_utils.h
@@ -159,15 +159,6 @@ private:
// TODO: modify this to accommodate DNSSEC
std::vector<std::string> get_record(const std::string& url, int record_type, boost::optional<std::string> (*reader)(const char *,size_t), bool& dnssec_available, bool& dnssec_valid);
- /**
- * @brief Checks a string to see if it looks like a URL
- *
- * @param addr the string to be checked
- *
- * @return true if it looks enough like a URL, false if not
- */
- bool check_address_syntax(const char *addr) const;
-
DNSResolverData *m_data;
}; // class DNSResolver