aboutsummaryrefslogtreecommitdiffstats
path: root/epan/packet.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/packet.c')
-rw-r--r--epan/packet.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/epan/packet.c b/epan/packet.c
index 9866f47174..b8026933ea 100644
--- a/epan/packet.c
+++ b/epan/packet.c
@@ -420,7 +420,7 @@ final_registration_all_protocols(void)
/* Creates the top-most tvbuff and calls dissect_frame() */
void
-dissect_packet(epan_dissect_t *edt, struct wtap_pkthdr *phdr,
+dissect_record(epan_dissect_t *edt, struct wtap_pkthdr *phdr,
tvbuff_t *tvb, frame_data *fd, column_info *cinfo)
{
if (cinfo != NULL)
@@ -456,6 +456,10 @@ dissect_packet(epan_dissect_t *edt, struct wtap_pkthdr *phdr,
else if (fd->flags.has_phdr_comment)
edt->pi.pkt_comment = phdr->opt_comment;
+ if (phdr->rec_type != REC_TYPE_PACKET) {
+ /* XXX = process these */
+ }
+
EP_CHECK_CANARY(("before dissecting frame %d",fd->num));
TRY {