aboutsummaryrefslogtreecommitdiffstats
path: root/packet-eth.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-04-03 05:42:11 +0000
committerGuy Harris <guy@alum.mit.edu>2001-04-03 05:42:11 +0000
commit6617c40dd77ec224fdab6fa96ac07f6ed09ad273 (patch)
treee4ac94d232abcfeb5018b25c1e86cec4e748cf32 /packet-eth.c
parenta817e9701520b38846b55b4c6d00981ad52f0ced (diff)
An Ethernet type of 0x6558 is "Transparent Ethernet Bridging" which,
apparently, means an Ethernet packet is stuffed into the payload; add support for it as an Ethernet, Cisco HDLC, and GRE packet type. Sort the Ethernet types in "etypes.h" by value. svn path=/trunk/; revision=3250
Diffstat (limited to 'packet-eth.c')
-rw-r--r--packet-eth.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/packet-eth.c b/packet-eth.c
index 17cb86bbe2..1f838836ac 100644
--- a/packet-eth.c
+++ b/packet-eth.c
@@ -1,7 +1,7 @@
/* packet-eth.c
* Routines for ethernet packet disassembly
*
- * $Id: packet-eth.c,v 1.62 2001/03/22 23:22:23 gram Exp $
+ * $Id: packet-eth.c,v 1.63 2001/04/03 05:42:11 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -313,4 +313,10 @@ proto_reg_handoff_eth(void)
dissector_add("wtap_encap", WTAP_ENCAP_ETHERNET, dissect_eth,
proto_eth);
+ dissector_add("ethertype", ETHERTYPE_ETHBRIDGE, dissect_eth,
+ proto_eth);
+ dissector_add("chdlctype", ETHERTYPE_ETHBRIDGE, dissect_eth,
+ proto_eth);
+ dissector_add("gre.proto", ETHERTYPE_ETHBRIDGE, dissect_eth,
+ proto_eth);
}