diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-01-10 09:07:35 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-01-10 09:07:35 +0000 |
commit | 039bd984c0791b345ef12806a24cb5c44cf0e2f7 (patch) | |
tree | 8ada65a0f30fde1bc3c7eb46db802a42af046f93 /packet-fddi.c | |
parent | 2a8ac23dd2b55b88c264312fce9a65f895f71bdd (diff) | |
download | wireshark-039bd984c0791b345ef12806a24cb5c44cf0e2f7.tar.gz wireshark-039bd984c0791b345ef12806a24cb5c44cf0e2f7.tar.bz2 wireshark-039bd984c0791b345ef12806a24cb5c44cf0e2f7.zip |
Make the stuff to handle SNAP frames (OUI, PID, payload) a routine of
its own; it's used not only by LLC, but by Frame Relay with RFC 2427 and
ATM with RFC 2684.
Support for RFC 2427-encapsulation Frame Relay packets, from Paul
Ionescu.
Get rid of the CISCO_IP PPP protocol type - Cisco HDLC uses, in most
cases, Ethernet packet types, so use ETHERTYPE_IP instead (they're both
0x0800).
svn path=/trunk/; revision=2854
Diffstat (limited to 'packet-fddi.c')
-rw-r--r-- | packet-fddi.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/packet-fddi.c b/packet-fddi.c index 0bbe7c87ef..1e707f2806 100644 --- a/packet-fddi.c +++ b/packet-fddi.c @@ -3,7 +3,7 @@ * * Laurent Deniel <deniel@worldnet.fr> * - * $Id: packet-fddi.c,v 1.46 2001/01/09 06:31:35 guy Exp $ + * $Id: packet-fddi.c,v 1.47 2001/01/10 09:07:35 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -375,6 +375,12 @@ proto_register_fddi(void) "FDDI", "fddi"); proto_register_field_array(proto_fddi, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); + + /* + * Called from various dissectors for encapsulated FDDI frames. + * We assume the MAC addresses in them aren't bitswapped. + */ + register_dissector("fddi", dissect_fddi_not_bitswapped, proto_fddi); } void |