and if the checksum is wrong
and if the checksum field is 0x0000
mark the packet as [Checksum Offloaded] and still allow reassembly of
tcp segmetns
since it is most likely just a tco checksum offload engine and not a real checksum error
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17612
f5534014-38df-0310-8fa8-
9805f1628bb7
/* Checksum is valid, so we're willing to desegment it. */
desegment_ok = TRUE;
+ } else if (th_sum == 0) {
+ /* checksum is probably fine but checksum offload is used */
+ proto_tree_add_uint_format(tcp_tree, hf_tcp_checksum, tvb,
+ offset + 16, 2, th_sum, "Checksum: 0x%04x [Checksum Offloaded]", th_sum);
+
+ /* Checksum is (probably) valid, so we're willing to desegment it. */
+ desegment_ok = TRUE;
} else {
proto_item *item;