From 0c4cb64c57c1d67a692a353af752716bce134887 Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Tue, 26 Jun 2007 19:38:44 +0000 Subject: Add capture counts for PPI. svn path=/trunk/; revision=22195 --- capture_info.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'capture_info.c') diff --git a/capture_info.c b/capture_info.c index a5e9431d5f..e847297558 100644 --- a/capture_info.c +++ b/capture_info.c @@ -46,6 +46,7 @@ #include #include #include +#include #include #include #include @@ -328,6 +329,9 @@ capture_info_packet(packet_counts *counts, gint wtap_linktype, const guchar *pd, case WTAP_ENCAP_ENC: capture_enc(pd, caplen, counts); break; + case WTAP_ENCAP_PPI: + capture_ppi(pd, caplen, counts); + break; /* XXX - some ATM drivers on FreeBSD might prepend a 4-byte ATM pseudo-header to DLT_ATM_RFC1483, with LLC header following; we might have to implement that at some point. */ -- cgit v1.2.1