mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 08:38:12 +00:00
Kernel: Make sure IPv4Socket is marked as listening in listen()
This commit is contained in:
parent
706e04d340
commit
e8a10848b5
1 changed files with 1 additions and 0 deletions
|
@ -106,6 +106,7 @@ KResult IPv4Socket::listen(int backlog)
|
|||
return KResult(-EADDRINUSE);
|
||||
|
||||
set_backlog(backlog);
|
||||
m_role = Role::Listener;
|
||||
|
||||
kprintf("IPv4Socket{%p} listening with backlog=%d\n", this, backlog);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue