Skip to content

Commit

Permalink
add ip address info to debug info (#244)
Browse files Browse the repository at this point in the history
  • Loading branch information
eshizhan committed Aug 5, 2021
1 parent 04b0dab commit 3058749
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/tcpdemux.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,8 @@ int tcpdemux::process_tcp(const ipaddr &src, const ipaddr &dst,sa_family_t famil
int32_t delta = 0; // from current position in tcp connection; must be SIGNED 32 bit!
tcpip *tcp = find_tcpip(this_flow);

DEBUG(60)("%s%s%s%s tcp_header_len=%d tcp_datalen=%d seq=%u tcp=%p",
DEBUG(60)("%s %s%s%s%s tcp_header_len=%d tcp_datalen=%d seq=%u tcp=%p",
this_flow.str().c_str(),
(syn_set?"SYN ":""),(ack_set?"ACK ":""),(fin_set?"FIN ":""),(rst_set?"RST ":""),(int)tcp_header_len,(int)tcp_datalen,(int)seq,tcp);

/* If this_flow is not in the database and the start_new_connections flag is false, just return */
Expand Down

0 comments on commit 3058749

Please sign in to comment.