summaryrefslogtreecommitdiff
path: root/capture_info.c
diff options
context:
space:
mode:
Diffstat (limited to 'capture_info.c')
-rw-r--r--capture_info.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/capture_info.c b/capture_info.c
index 1f9f104963..0d4afa380e 100644
--- a/capture_info.c
+++ b/capture_info.c
@@ -251,7 +251,8 @@ static void
capture_info_packet(packet_counts *counts, gint wtap_linktype, const guchar *pd, guint32 caplen, union wtap_pseudo_header *pseudo_header)
{
counts->total++;
- call_capture_dissector(wtap_linktype, pd, 0, caplen, counts, pseudo_header);
+ if (!try_capture_dissector("wtap_encap", wtap_linktype, pd, 0, caplen, counts, pseudo_header))
+ counts->other++;
}