1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 14:38:11 +00:00

Kernel: Improve some network-related log messages

This commit is contained in:
Conrad Pankoff 2019-08-09 12:35:56 +10:00 committed by Andreas Kling
parent 4fcbbd24f7
commit 5c66c67f32
3 changed files with 13 additions and 9 deletions

View file

@ -84,7 +84,7 @@ KResult IPv4Socket::bind(const sockaddr* address, socklen_t address_size)
m_local_address = IPv4Address((const u8*)&ia.sin_addr.s_addr);
m_local_port = ntohs(ia.sin_port);
dbgprintf("IPv4Socket::bind %s{%p} to port %u\n", class_name(), this, m_local_port);
dbgprintf("IPv4Socket::bind %s{%p} to %s:%u\n", class_name(), this, m_local_address.to_string().characters(), m_local_port);
return protocol_bind();
}