diff options
Diffstat (limited to 'Userland/Services/LookupServer/MulticastDNS.h')
-rw-r--r-- | Userland/Services/LookupServer/MulticastDNS.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Userland/Services/LookupServer/MulticastDNS.h b/Userland/Services/LookupServer/MulticastDNS.h index 37b98db9bd..23fc71d430 100644 --- a/Userland/Services/LookupServer/MulticastDNS.h +++ b/Userland/Services/LookupServer/MulticastDNS.h @@ -18,16 +18,16 @@ namespace LookupServer { class MulticastDNS : public Core::UDPServer { C_OBJECT(MulticastDNS) public: - Vector<DNSAnswer> lookup(const DNSName&, DNSRecordType record_type); + Vector<DNSAnswer> lookup(DNSName const&, DNSRecordType record_type); private: explicit MulticastDNS(Object* parent = nullptr); void announce(); - ErrorOr<size_t> emit_packet(const DNSPacket&, const sockaddr_in* destination = nullptr); + ErrorOr<size_t> emit_packet(DNSPacket const&, sockaddr_in const* destination = nullptr); void handle_packet(); - void handle_query(const DNSPacket&); + void handle_query(DNSPacket const&); Vector<IPv4Address> local_addresses() const; |