aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-tte.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-tte.c')
-rw-r--r--epan/dissectors/packet-tte.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/epan/dissectors/packet-tte.c b/epan/dissectors/packet-tte.c
index dd481bf06d..ceb99b83b1 100644
--- a/epan/dissectors/packet-tte.c
+++ b/epan/dissectors/packet-tte.c
@@ -117,9 +117,8 @@ dissect_tte(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
/* call std Ethernet dissector */
ethertype_data.etype = tvb_get_ntohs(tvb, TTE_MAC_LENGTH * 2);
- ethertype_data.offset_after_ethertype = 14;
+ ethertype_data.payload_offset = TTE_HEADER_LENGTH;
ethertype_data.fh_tree = NULL;
- ethertype_data.etype_id = hf_eth_type;
ethertype_data.trailer_id = 0;
ethertype_data.fcs_len = 0;