aboutsummaryrefslogtreecommitdiffstats
path: root/capture_info.c
diff options
context:
space:
mode:
authorgerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2007-06-26 19:38:44 +0000
committergerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2007-06-26 19:38:44 +0000
commit0c414c585940f70219ede577b0d4477d9d0672ca (patch)
tree3fb99df62413d054b6da770fffa59ca4adbc69fb /capture_info.c
parentbd9b9d1b7b2e9d863b32369a09c1ef5c2248a5a9 (diff)
Add capture counts for PPI.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22195 f5534014-38df-0310-8fa8-9805f1628bb7
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. */