From 4fc130af79b89a98e8779cb1dec70bb16b1a5c9d Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Thu, 2 Aug 2012 06:45:51 +0000 Subject: From Richard Stearn: AX.25 KISS protocol support. Part 1 of the fix for bug 7529. svn path=/trunk/; revision=44202 --- 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 2792fdc841..9e7e584573 100644 --- a/capture_info.c +++ b/capture_info.c @@ -58,6 +58,7 @@ #include #include #include +#include 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. */ -- cgit v1.2.3