mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:38:11 +00:00
Kernel: Improve some network-related log messages
This commit is contained in:
parent
4fcbbd24f7
commit
5c66c67f32
3 changed files with 13 additions and 9 deletions
|
@ -148,10 +148,10 @@ void TCPSocket::send_tcp_packet(u16 flags, const void* payload, int payload_size
|
|||
local_port(),
|
||||
peer_address().to_string().characters(),
|
||||
peer_port(),
|
||||
tcp_packet.has_syn() ? "SYN" : "",
|
||||
tcp_packet.has_ack() ? "ACK" : "",
|
||||
tcp_packet.has_fin() ? "FIN" : "",
|
||||
tcp_packet.has_rst() ? "RST" : "",
|
||||
tcp_packet.has_syn() ? "SYN " : "",
|
||||
tcp_packet.has_ack() ? "ACK " : "",
|
||||
tcp_packet.has_fin() ? "FIN " : "",
|
||||
tcp_packet.has_rst() ? "RST " : "",
|
||||
tcp_packet.sequence_number(),
|
||||
tcp_packet.ack_number());
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue