aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/compare_stat.c
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2013-10-27 20:38:42 +0000
committerMichael Mann <mmann78@netscape.net>2013-10-27 20:38:42 +0000
commit8c64c5da892b3861260950d8bd34b6c2f9acd2d4 (patch)
treef5c414e70579768ac7b32e5e4e1ed488aa3e05b1 /ui/gtk/compare_stat.c
parent63ff652b8e07600ad0c7a350f379cfb9fbbf96ab (diff)
Remove iplen and iphdrlen from struct _packet_info.
Dissectors should just use (reported) tvb length and taps have other ways to get the data. svn path=/trunk/; revision=52899
Diffstat (limited to 'ui/gtk/compare_stat.c')
-rw-r--r--ui/gtk/compare_stat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/gtk/compare_stat.c b/ui/gtk/compare_stat.c
index 2491264fcf..23b68de358 100644
--- a/ui/gtk/compare_stat.c
+++ b/ui/gtk/compare_stat.c
@@ -206,7 +206,7 @@ comparestat_packet(void *arg, packet_info *pinfo, epan_dissect_t *edt _U_, const
cksum_vec[2].ptr=(guint8 *)ci->ip_dst.data;
cksum_vec[2].ptr=cksum_vec[2].ptr+ci->ip_dst.len;
/* dynamic computation */
- cksum_vec[2].len=pinfo->iphdrlen-20;
+ cksum_vec[2].len=ci->ip_len-20;
computed_cksum=in_cksum(&cksum_vec[0], 3);
/* Set up the new order to create the zebra effect */