diff options
author | Gerald Combs <gerald@wireshark.org> | 2007-06-26 19:38:44 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2007-06-26 19:38:44 +0000 |
commit | 0c4cb64c57c1d67a692a353af752716bce134887 (patch) | |
tree | 3fb99df62413d054b6da770fffa59ca4adbc69fb /capture_info.c | |
parent | abf8df1d0350df8794503e7f3854b4d08190792b (diff) |
Add capture counts for PPI.
svn path=/trunk/; revision=22195
Diffstat (limited to 'capture_info.c')
-rw-r--r-- | capture_info.c | 4 |
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. */ |