1
Fork 0
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:
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

@ -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