Fix Bug #4871: Wrong Ack value in TCP flow graph when using relative sequence numbers.
See: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4871 svn path=/trunk/; revision=33223
This commit is contained in:
parent
195f3ba118
commit
59af566844
|
@ -351,7 +351,10 @@ static int flow_graph_tcp_add_to_graph(packet_info *pinfo, const struct tcpheade
|
|||
gai->frame_label = g_strdup(flags);
|
||||
}
|
||||
|
||||
gai->comment = g_strdup_printf("Seq = %u Ack = %u",tcph->th_seq, tcph->th_ack);
|
||||
if (tcph->th_flags & TH_ACK)
|
||||
gai->comment = g_strdup_printf("Seq = %u Ack = %u",tcph->th_seq, tcph->th_ack);
|
||||
else
|
||||
gai->comment = g_strdup_printf("Seq = %u",tcph->th_seq);
|
||||
|
||||
gai->line_style=1;
|
||||
gai->conv_num=0;
|
||||
|
|
Loading…
Reference in New Issue