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
This commit is contained in:
Guy Harris 2001-07-02 02:09:26 +00:00
parent 6b6a4d8379
commit e78964cea0
2 changed files with 3 additions and 20 deletions

View 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;

View 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
@ -52,21 +51,6 @@
#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
*/