From 904d9fc2c3d919b0acc308228bf8fb9388f89f26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Valverde?= Date: Tue, 19 Jul 2016 22:06:31 +0100 Subject: Update struct ws_ip with flow label and comments MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change field ip_v_hl to version. Change-Id: Ic7ce8d6d083f6413284a7b9ba91a2387b11b29fb Reviewed-on: https://code.wireshark.org/review/16555 Petri-Dish: João Valverde Tested-by: Petri Dish Buildbot Reviewed-by: João Valverde --- ui/cli/tap-comparestat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ui/cli') diff --git a/ui/cli/tap-comparestat.c b/ui/cli/tap-comparestat.c index 3d3fbdee82..83f192cc5b 100644 --- a/ui/cli/tap-comparestat.c +++ b/ui/cli/tap-comparestat.c @@ -49,7 +49,7 @@ /* For checksum */ -#define BYTES 8 +#define BYTES 12 #define WRONG_CHKSUM 0 #define MERGED_FILES 2 @@ -124,7 +124,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; -- cgit v1.2.1