mirror of
https://github.com/RGBCube/serenity
synced 2025-05-18 21:25:07 +00:00
Kernel/Net: make setsockopt pretend it understands SO_KEEPALIVE.
This commit is contained in:
parent
5fe521c507
commit
7fd77e9ffe
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue