diff options
author | Anders Broman <anders.broman@ericsson.com> | 2012-11-26 08:50:25 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2012-11-26 08:50:25 +0000 |
commit | 0f19bd385b4598777f5669090ffb220442f6f1b3 (patch) | |
tree | 98a8fa9fe1ad0e195598a40075e52dd4a0db8b44 /ui/gtk/tcp_graph.c | |
parent | 8b3de820ee02d1acde677c86cc32881e3f7bb3db (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.c | 2 |
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)) |