mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-21 07:06:04 +00:00
Kernel: Make sure IPv4Socket is marked as listening in listen()
This commit is contained in:
committed by
Andreas Kling
parent
706e04d340
commit
e8a10848b5
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user