1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 20:47:45 +00:00

LookupServer: Propagate the errors from MulticastDNS::handle_packet()

This is a bit awkward, but I think it is better to make the caller
deal with possible errors.
This commit is contained in:
Alexander Narsudinov 2022-12-18 00:52:12 +03:00 committed by Andreas Kling
parent e279a1723b
commit ce2ed7615a
2 changed files with 8 additions and 6 deletions

View file

@ -29,7 +29,7 @@ private:
void announce();
ErrorOr<size_t> emit_packet(Packet const&, sockaddr_in const* destination = nullptr);
void handle_packet();
ErrorOr<void> handle_packet();
void handle_query(Packet const&);
Vector<IPv4Address> local_addresses() const;