summaryrefslogtreecommitdiff
path: root/capture_info.c
diff options
context:
space:
mode:
Diffstat (limited to 'capture_info.c')
-rw-r--r--capture_info.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/capture_info.c b/capture_info.c
index e928691fd8..3ef12df504 100644
--- a/capture_info.c
+++ b/capture_info.c
@@ -363,6 +363,11 @@ capture_info_packet(packet_counts *counts, gint wtap_linktype, const guchar *pd,
pseudo-header to DLT_ATM_RFC1483, with LLC header following;
we might have to implement that at some point. */
case WTAP_ENCAP_PKTAP:
+ case WTAP_ENCAP_USER2:
+ /* XXX - WTAP_ENCAP_USER2 to handle Mavericks' botch wherein it
+ uses DLT_USER2 for PKTAP; if you are using DLT_USER2 for your
+ own purposes, feel free to call your own capture_ routine for
+ WTAP_ENCAP_USER2. */
capture_pktap(pd, caplen, counts);
break;
}