mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-07 08:39:22 +00:00
Kernel: Support binding to INADDR_ANY (all IPs)
This commit is contained in:
parent
3eb659a2bb
commit
4fcbbd24f7
Notes:
sideshowbarker
2024-07-19 12:48:27 +09:00
Author: https://github.com/deoxxa
Commit: 4fcbbd24f7
Pull-request: https://github.com/SerenityOS/serenity/pull/421
Reviewed-by: https://github.com/awesomekling ✅
3 changed files with 17 additions and 8 deletions
|
@ -95,9 +95,6 @@ KResult IPv4Socket::listen(int backlog)
|
|||
if (rc < 0)
|
||||
return KResult(-EADDRINUSE);
|
||||
|
||||
if (m_local_address.to_u32() == 0)
|
||||
return KResult(-EADDRINUSE);
|
||||
|
||||
set_backlog(backlog);
|
||||
|
||||
kprintf("IPv4Socket{%p} listening with backlog=%d\n", this, backlog);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue