summaryrefslogtreecommitdiff
path: root/ui/cli
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/cli
parentc11cdd6493ef7e852fab7d32a9cb87ec2955c2c2 (diff)
downloadwireshark-904d9fc2c3d919b0acc308228bf8fb9388f89f26.tar.gz
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/cli')
-rw-r--r--ui/cli/tap-comparestat.c4
1 files changed, 2 insertions, 2 deletions
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;