From bb9afe03d7bf216ca7fec82a1e92c43bc86b516b Mon Sep 17 00:00:00 2001 From: guy Date: Mon, 2 Jul 2001 02:09:26 +0000 Subject: [PATCH] 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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3630 f5534014-38df-0310-8fa8-9805f1628bb7 --- packet-isis.c | 3 +-- packet-isis.h | 20 ++------------------ 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 * * 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 * * Ethereal - Network traffic analyzer - * By Gerald Combs + * By Gerald Combs * 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 */ -- 2.34.1