summaryrefslogtreecommitdiff
path: root/capture_info.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2012-08-02 06:45:51 +0000
committerGuy Harris <guy@alum.mit.edu>2012-08-02 06:45:51 +0000
commit4fc130af79b89a98e8779cb1dec70bb16b1a5c9d (patch)
tree6559450c87b7f6eac1f455575b5d05b7d6af933e /capture_info.c
parent3e09bb9bf1b3187e1c706597c55c05be522a8884 (diff)
downloadwireshark-4fc130af79b89a98e8779cb1dec70bb16b1a5c9d.tar.gz
From Richard Stearn: AX.25 KISS protocol support.
Part 1 of the fix for bug 7529. svn path=/trunk/; revision=44202
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 2792fdc841..9e7e584573 100644
--- a/capture_info.c
+++ b/capture_info.c
@@ -58,6 +58,7 @@
#include <epan/dissectors/packet-arcnet.h>
#include <epan/dissectors/packet-enc.h>
#include <epan/dissectors/packet-i2c.h>
+#include <epan/dissectors/packet-ax25-kiss.h>
static void capture_info_packet(
packet_counts *counts, gint wtap_linktype, const guchar *pd, guint32 caplen, union wtap_pseudo_header *pseudo_header);
@@ -351,6 +352,9 @@ capture_info_packet(packet_counts *counts, gint wtap_linktype, const guchar *pd,
case WTAP_ENCAP_I2C:
capture_i2c(pseudo_header, counts);
break;
+ case WTAP_ENCAP_AX25_KISS:
+ capture_ax25_kiss(pd, 0, 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. */