summaryrefslogtreecommitdiff
path: root/capture_info.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2007-06-26 19:38:44 +0000
committerGerald Combs <gerald@wireshark.org>2007-06-26 19:38:44 +0000
commit0c4cb64c57c1d67a692a353af752716bce134887 (patch)
tree3fb99df62413d054b6da770fffa59ca4adbc69fb /capture_info.c
parentabf8df1d0350df8794503e7f3854b4d08190792b (diff)
downloadwireshark-0c4cb64c57c1d67a692a353af752716bce134887.tar.gz
Add capture counts for PPI.
svn path=/trunk/; revision=22195
Diffstat (limited to 'capture_info.c')
-rw-r--r--capture_info.c4
1 files changed, 4 insertions, 0 deletions
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 <epan/dissectors/packet-fddi.h>
#include <epan/dissectors/packet-fr.h>
#include <epan/dissectors/packet-null.h>
+#include <epan/dissectors/packet-ppi.h>
#include <epan/dissectors/packet-ppp.h>
#include <epan/dissectors/packet-raw.h>
#include <epan/dissectors/packet-sll.h>
@@ -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. */