mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-30 13:19:47 +00:00
Kernel/Net: make setsockopt pretend it understands SO_KEEPALIVE.
This commit is contained in:
committed by
Andreas Kling
parent
5fe521c507
commit
7fd77e9ffe
@@ -125,6 +125,9 @@ KResult Socket::setsockopt(int level, int option, const void* value, socklen_t v
|
||||
m_bound_interface = device;
|
||||
return KSuccess;
|
||||
}
|
||||
case SO_KEEPALIVE:
|
||||
// FIXME: Obviously, this is not a real keepalive.
|
||||
return KSuccess;
|
||||
default:
|
||||
dbg() << "setsockopt(" << option << ") at SOL_SOCKET not implemented.";
|
||||
return KResult(-ENOPROTOOPT);
|
||||
|
||||
Reference in New Issue
Block a user