aboutsummaryrefslogtreecommitdiffstats
path: root/packet-osi.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2003-01-11 10:16:22 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2003-01-11 10:16:22 +0000
commit5fc4cc937d866049fb0e13e96f25c5dcd9af93a8 (patch)
tree0e0ad61cd4ec3effab574cd1c78e66e5af630df3 /packet-osi.c
parente78e73f9930ba42805c769118e1b9e4e12ed109d (diff)
Add a new "chdlctypes.h" file for Cisco HDLC type values that aren't
just Ethernet type values. Move the type value for ISO network-layer protocols there, and put the type value for IEEE spanning tree there as well, use that value in the BPDU dissector, and add an item to the CHDLC dissector for it. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6915 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-osi.c')
-rw-r--r--packet-osi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/packet-osi.c b/packet-osi.c
index 28df2a5d0d..70c819abc2 100644
--- a/packet-osi.c
+++ b/packet-osi.c
@@ -2,7 +2,7 @@
* Routines for ISO/OSI network and transport protocol packet disassembly
* Main entrance point and common functions
*
- * $Id: packet-osi.c,v 1.56 2002/09/20 09:17:38 sahlberg Exp $
+ * $Id: packet-osi.c,v 1.57 2003/01/11 10:16:22 guy Exp $
* Laurent Deniel <deniel@worldnet.fr>
* Ralf Schneider <Ralf.Schneider@t-online.de>
*
@@ -38,7 +38,7 @@
#include "aftypes.h"
#include "nlpid.h"
#include "ppptypes.h"
-#include "etypes.h"
+#include "chdlctypes.h"
#include "packet-osi.h"
#include "packet-isis.h"
#include "packet-esis.h"
@@ -190,7 +190,7 @@ proto_reg_handoff_osi(void)
osi_handle = create_dissector_handle(dissect_osi, -1);
dissector_add("llc.dsap", SAP_OSINL, osi_handle);
dissector_add("ppp.protocol", PPP_OSI, osi_handle);
- dissector_add("chdlctype", ETHERTYPE_OSI, osi_handle);
+ dissector_add("chdlctype", CHDLCTYPE_OSI, osi_handle);
dissector_add("null.type", BSD_AF_ISO, osi_handle);
dissector_add("gre.proto", SAP_OSINL, osi_handle);
data_handle = find_dissector("data");