aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-07-02 02:09:26 +0000
committerGuy Harris <guy@alum.mit.edu>2001-07-02 02:09:26 +0000
commite78964cea031762e6c7cae3334fcd21eff7091fd (patch)
tree215aeee161fa1a11bf1b03803e1b0bb254876e6e
parent6b6a4d83792161d045f426dafa8e80f2d0fb1881 (diff)
Get rid of a now-unused variable; it's the only variable of type
"isis_hdr_t", so we can get rid of the definition of that as well. svn path=/trunk/; revision=3630
-rw-r--r--packet-isis.c3
-rw-r--r--packet-isis.h20
2 files changed, 3 insertions, 20 deletions
diff --git a/packet-isis.c b/packet-isis.c
index 40533a9da4..767b594920 100644
--- a/packet-isis.c
+++ b/packet-isis.c
@@ -2,7 +2,7 @@
* Routines for ISO/OSI network and transport protocol packet disassembly, core
* bits.
*
- * $Id: packet-isis.c,v 1.24 2001/07/02 01:46:22 guy Exp $
+ * $Id: packet-isis.c,v 1.25 2001/07/02 02:09:26 guy Exp $
* Stuart Stanley <stuarts@mxmail.net>
*
* Ethereal - Network traffic analyzer
@@ -120,7 +120,6 @@ isis_dissect_unknown(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
static void
dissect_isis(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
{
- isis_hdr_t ihdr;
proto_item *ti;
proto_tree *isis_tree = NULL;
int offset = 0;
diff --git a/packet-isis.h b/packet-isis.h
index 3d183d43a9..4f1e7067f8 100644
--- a/packet-isis.h
+++ b/packet-isis.h
@@ -1,13 +1,12 @@
/* packet-isis.h
* Defines and such for core isis protcol decode.
*
- * $Id: packet-isis.h,v 1.6 2001/07/02 01:46:22 guy Exp $
+ * $Id: packet-isis.h,v 1.7 2001/07/02 02:09:26 guy Exp $
* Stuart Stanley <stuarts@mxmail.net>
*
* Ethereal - Network traffic analyzer
- * By Gerald Combs <gerald@zing.org>
+ * By Gerald Combs <gerald@ethereal.com>
* Copyright 1998 Gerald Combs
- *
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
@@ -53,21 +52,6 @@
#define ISIS_R6_MASK 0x20
/*
- * The common first 8 octets of the ISIS protocol header.
- */
-typedef struct {
- guint8 isis_irpd; /* Intradomain Routing Protocol Descriminator: 0x83 */
- guint8 isis_header_length; /* header length in octets */
- guint8 isis_version; /* isis version, must be 0x01 */
- guint8 isis_system_id_len; /* length of the system ID fields */
- guint8 isis_type_reserved; /* packet type & reserved */
- guint8 isis_version2; /* another version(?!), must be 0x01 */
- guint8 isis_reserved; /* reserved, must be 0 */
- guint8 isis_max_area_adr; /* Maximum Number of AREA Addresses permitted */
-} isis_hdr_t; /* for this AREA. Value of 0 allows 3 Addresses */
-
-
-/*
* published API functions
*/