aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-eth.c
diff options
context:
space:
mode:
authorChris Maynard <Christopher.Maynard@GTECH.COM>2011-05-10 17:40:29 +0000
committerChris Maynard <Christopher.Maynard@GTECH.COM>2011-05-10 17:40:29 +0000
commite5adfc8e18fbab23dde3f259988411bedd9a3b3b (patch)
tree0d57ac65565a76d08f2faa3c283970bf3ef0ffe6 /epan/dissectors/packet-eth.c
parent4edfe4961f8adf37dd0495f28d51a6be18c5e7de (diff)
Add support for USB CDC Ethernet. Resolves bug 4819.
svn path=/trunk/; revision=37049
Diffstat (limited to 'epan/dissectors/packet-eth.c')
-rw-r--r--epan/dissectors/packet-eth.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/dissectors/packet-eth.c b/epan/dissectors/packet-eth.c
index af9d3c070e..19fa69c5b0 100644
--- a/epan/dissectors/packet-eth.c
+++ b/epan/dissectors/packet-eth.c
@@ -37,6 +37,7 @@
#include "packet-isl.h"
#include "packet-llc.h"
#include "packet-sll.h"
+#include "packet-usb.h"
#include <epan/crc32.h>
#include <epan/tap.h>
#include <epan/expert.h>
@@ -778,6 +779,7 @@ proto_reg_handoff_eth(void)
dissector_add_uint("gre.proto", ETHERTYPE_ETHBRIDGE, eth_withoutfcs_handle);
dissector_add_uint("sll.ltype", LINUX_SLL_P_ETHERNET, eth_withoutfcs_handle);
+ dissector_add_uint("usb.bulk", IF_CLASS_CDC_DATA, eth_withoutfcs_handle);
/*
* This is to handle the output for the Cisco CMTS "cable intercept"