diff options
Diffstat (limited to 'Userland/Services/LookupServer/LookupServer.h')
-rw-r--r-- | Userland/Services/LookupServer/LookupServer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Services/LookupServer/LookupServer.h b/Userland/Services/LookupServer/LookupServer.h index a46ebffc54..c948f2aa07 100644 --- a/Userland/Services/LookupServer/LookupServer.h +++ b/Userland/Services/LookupServer/LookupServer.h @@ -21,7 +21,7 @@ class LookupServer final : public Core::Object { public: static LookupServer& the(); - Vector<DNSAnswer> lookup(const DNSName& name, unsigned short record_type); + Vector<DNSAnswer> lookup(const DNSName& name, DNSRecordType record_type); private: LookupServer(); @@ -29,7 +29,7 @@ private: void load_etc_hosts(); void put_in_cache(const DNSAnswer&); - Vector<DNSAnswer> lookup(const DNSName& hostname, const String& nameserver, bool& did_get_response, unsigned short record_type, ShouldRandomizeCase = ShouldRandomizeCase::Yes); + Vector<DNSAnswer> lookup(const DNSName& hostname, const String& nameserver, bool& did_get_response, DNSRecordType record_type, ShouldRandomizeCase = ShouldRandomizeCase::Yes); RefPtr<Core::LocalServer> m_local_server; RefPtr<DNSServer> m_dns_server; |