aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-nettl.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-nettl.c')
-rw-r--r--epan/dissectors/packet-nettl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-nettl.c b/epan/dissectors/packet-nettl.c
index 13ef003b0f..38ff0ebecc 100644
--- a/epan/dissectors/packet-nettl.c
+++ b/epan/dissectors/packet-nettl.c
@@ -227,7 +227,7 @@ dissect_nettl(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U
0, 0, pinfo->pseudo_header->nettl.uid);
}
- switch (pinfo->phdr->pkt_encap) {
+ switch (pinfo->rec->rec_header.packet_header.pkt_encap) {
case WTAP_ENCAP_NETTL_ETHERNET:
call_dissector(eth_withoutfcs_handle, tvb, pinfo, tree);
break;