Get rid of a now-unused variable; it's the only variable of type
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 2 Jul 2001 02:09:26 +0000 (02:09 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 2 Jul 2001 02:09:26 +0000 (02:09 +0000)
"isis_hdr_t", so we can get rid of the definition of that as well.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3630 f5534014-38df-0310-8fa8-9805f1628bb7

packet-isis.c
packet-isis.h

index 40533a9da4c1b9f948d06802c75efb79c93defca..767b594920ee495f24ada3b7f469763ccfec0085 100644 (file)
@@ -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;
index 3d183d43a98eddd1c5b21c6262b3b66545cd0b8e..4f1e7067f835a1856f093cc254694b08441fbb37 100644 (file)
@@ -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
 #define ISIS_R7_MASK       0x40
 #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
  */