aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk
diff options
context:
space:
mode:
authorJoão Valverde <joao.valverde@tecnico.ulisboa.pt>2016-07-19 22:06:31 +0100
committerJoão Valverde <j@v6e.pt>2016-07-23 03:46:58 +0000
commit904d9fc2c3d919b0acc308228bf8fb9388f89f26 (patch)
tree021179b280dc13dbea6a68bd42ac0c9b3be424c3 /ui/gtk
parentc11cdd6493ef7e852fab7d32a9cb87ec2955c2c2 (diff)
Update struct ws_ip with flow label and comments
Change field ip_v_hl to version. Change-Id: Ic7ce8d6d083f6413284a7b9ba91a2387b11b29fb Reviewed-on: https://code.wireshark.org/review/16555 Petri-Dish: João Valverde <j@v6e.pt> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: João Valverde <j@v6e.pt>
Diffstat (limited to 'ui/gtk')
-rw-r--r--ui/gtk/compare_stat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/gtk/compare_stat.c b/ui/gtk/compare_stat.c
index 83442978e9..dbdcba70f4 100644
--- a/ui/gtk/compare_stat.c
+++ b/ui/gtk/compare_stat.c
@@ -74,7 +74,7 @@ void register_tap_listener_gtkcomparestat(void);
#define COLOR_N 1
/* For checksum */
-#define BYTES 8
+#define BYTES 12
#define WRONG_CHKSUM 0
#define MERGED_FILES 2
@@ -185,7 +185,7 @@ comparestat_packet(void *arg, packet_info *pinfo, epan_dissect_t *edt _U_, const
}
/* Set up the fields of the pseudo-header and create checksum */
- cksum_vec[0].ptr=&ci->ip_v_hl;
+ cksum_vec[0].ptr=(const guint8 *)&ci;
cksum_vec[0].len=BYTES;
/* skip TTL */
cksum_vec[1].ptr=&ci->ip_nxt;