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:
parent
e279a1723b
commit
ce2ed7615a
2 changed files with 8 additions and 6 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue