aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/tcp_graph.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2012-11-26 08:50:25 +0000
committerAnders Broman <anders.broman@ericsson.com>2012-11-26 08:50:25 +0000
commit0f19bd385b4598777f5669090ffb220442f6f1b3 (patch)
tree98a8fa9fe1ad0e195598a40075e52dd4a0db8b44 /ui/gtk/tcp_graph.c
parent8b3de820ee02d1acde677c86cc32881e3f7bb3db (diff)
From Jim Young:
Refactoring committed in Revision 460001 of tcp_graph.c introduced a copy&pasteo to wscale_make_elmtlist() such that compare_headers() would always return false. Consequently no elements would get added to the list of elements to be plotted. The attached patch corrects wscale_make_elmtlist() so that the Windows Scaling graph will plot elements. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8018 svn path=/trunk/; revision=46200
Diffstat (limited to 'ui/gtk/tcp_graph.c')
-rw-r--r--ui/gtk/tcp_graph.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/gtk/tcp_graph.c b/ui/gtk/tcp_graph.c
index 12cae595e1..1c50445ffb 100644
--- a/ui/gtk/tcp_graph.c
+++ b/ui/gtk/tcp_graph.c
@@ -4861,7 +4861,7 @@ static void wscale_make_elmtlist(struct graph* g)
for ( segm = g->segments; segm; segm = segm->next )
{
if (compare_headers(&g->src_address, &g->dst_address,
- g->src_port, g->src_port,
+ g->src_port, g->dst_port,
&segm->ip_src, &segm->ip_dst,
segm->th_sport, segm->th_dport,
COMPARE_CURR_DIR))