diff options
author | wmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7> | 2010-06-14 12:37:43 +0000 |
---|---|---|
committer | wmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7> | 2010-06-14 12:37:43 +0000 |
commit | c9945fb930121b0c97544eb834ec59a82031af8a (patch) | |
tree | 08e7a7dd07a0aecc4e36917600261614f1030ef3 /gtk | |
parent | d96733f6b5d0e0fe2e5cafd8ffebd965cc02c929 (diff) |
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
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@33223 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/flow_graph.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gtk/flow_graph.c b/gtk/flow_graph.c index 1300ae3518..bf6a59649a 100644 --- a/gtk/flow_graph.c +++ b/gtk/flow_graph.c @@ -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; |