diff options
Diffstat (limited to 'epan/dissectors/packet-pcap.c')
-rw-r--r-- | epan/dissectors/packet-pcap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-pcap.c b/epan/dissectors/packet-pcap.c index 0f66921828..f896486818 100644 --- a/epan/dissectors/packet-pcap.c +++ b/epan/dissectors/packet-pcap.c @@ -13214,9 +13214,9 @@ dissect_pcap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) col_set_str(pinfo->cinfo, COL_PROTOCOL, "PCAP"); /* create the pcap protocol tree */ - pcap_item = proto_tree_add_item(tree, proto_pcap, tvb, 0, -1, FALSE); + pcap_item = proto_tree_add_item(tree, proto_pcap, tvb, 0, -1, ENC_NA); pcap_tree = proto_item_add_subtree(pcap_item, ett_pcap); - + dissect_PCAP_PDU_PDU(tvb, pinfo, pcap_tree); } @@ -18255,7 +18255,7 @@ void proto_register_pcap(void) { proto_register_subtree_array(ett, array_length(ett)); pcap_module = prefs_register_protocol(proto_pcap, proto_reg_handoff_pcap); - + /* Register dissector */ register_dissector("pcap", dissect_pcap, proto_pcap); |