aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-sll.c
diff options
context:
space:
mode:
authorjake <jake@f5534014-38df-0310-8fa8-9805f1628bb7>2010-11-20 18:14:30 +0000
committerjake <jake@f5534014-38df-0310-8fa8-9805f1628bb7>2010-11-20 18:14:30 +0000
commit5e4c78d6739b2b26ad7440e4566ca7ca0384788f (patch)
tree7735eef3874f19b23dce47d5731827f96e73caf5 /epan/dissectors/packet-sll.c
parent3b116d24365653ca6fc90d47434c4d600a851530 (diff)
Fix for bug 5422:
Add support for dissecting SLL type 0x03 frames. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34987 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-sll.c')
-rw-r--r--epan/dissectors/packet-sll.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/epan/dissectors/packet-sll.c b/epan/dissectors/packet-sll.c
index 4907bea69b..902e53db0a 100644
--- a/epan/dissectors/packet-sll.c
+++ b/epan/dissectors/packet-sll.c
@@ -33,6 +33,7 @@
#include "packet-sll.h"
#include "packet-ipx.h"
#include "packet-llc.h"
+#include "packet-eth.h"
#include "packet-ppp.h"
#include "packet-gre.h"
#include <epan/addr_resolv.h>
@@ -78,6 +79,7 @@ static const value_string packet_type_vals[] = {
static const value_string ltype_vals[] = {
{ LINUX_SLL_P_802_3, "Raw 802.3" },
+ { LINUX_SLL_P_ETHERNET, "Ethernet" },
{ LINUX_SLL_P_802_2, "802.2 LLC" },
{ LINUX_SLL_P_PPPHDLC, "PPP (HDLC)" },
{ 0, NULL }
@@ -111,6 +113,13 @@ capture_sll(const guchar *pd, int len, packet_counts *ld)
capture_llc(pd, len, SLL_HEADER_SIZE, ld);
break;
+ case LINUX_SLL_P_ETHERNET:
+ /*
+ * Ethernet.
+ */
+ capture_eth(pd, SLL_HEADER_SIZE, len, ld);
+ break;
+
case LINUX_SLL_P_802_3:
/*
* Novell IPX inside 802.3 with no 802.2 LLC