mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-05 07:41:01 +00:00
Kernel: Make sure IPv4Socket is marked as listening in listen()
This commit is contained in:
parent
706e04d340
commit
e8a10848b5
Notes:
sideshowbarker
2024-07-19 12:12:41 +09:00
Author: https://github.com/deoxxa
Commit: e8a10848b5
Pull-request: https://github.com/SerenityOS/serenity/pull/530
Reviewed-by: https://github.com/awesomekling
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