diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2001-11-21 02:01:06 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2001-11-21 02:01:06 +0000 |
commit | 6bc54ce4d0fd20f3673f059ec4bd3c7df1151585 (patch) | |
tree | 3406b514e1c09bdc54bfc77913edb0688d160265 /packet-ospf.c | |
parent | 9202a69b578874e6ef4481974c09a6cd01084a6a (diff) |
Get rid of some unused variables.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4241 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-ospf.c')
-rw-r--r-- | packet-ospf.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/packet-ospf.c b/packet-ospf.c index 04653c3690..a211f50462 100644 --- a/packet-ospf.c +++ b/packet-ospf.c @@ -2,7 +2,7 @@ * Routines for OSPF packet disassembly * (c) Copyright Hannes R. Boehm <hannes@boehm.org> * - * $Id: packet-ospf.c,v 1.47 2001/10/27 00:47:26 guy Exp $ + * $Id: packet-ospf.c,v 1.48 2001/11/21 02:01:05 guy Exp $ * * At this time, this module is able to analyze OSPF * packets as specified in RFC2328. MOSPF (RFC1584) and other @@ -1178,33 +1178,22 @@ dissect_ospf_v3_lsa(tvbuff_t *tvb, int offset, proto_tree *tree, guint16 ls_type; guint16 ls_length; int end_offset; - guint8 nr_links; - guint16 nr_tos; guint8 reserved; /* router LSA */ guint8 link_type; - guint16 link_counter; - guint8 tos_counter; char *link_type_str; guint32 metric; guint8 router_lsa_flags; char router_lsa_flags_string[5]; - /* AS-external LSA */ - guint8 options; - - /* opaque LSA */ - guint8 ls_id_type; - guint8 router_priority; guint32 number_prefixes; guint8 prefix_length; guint16 reserved16; guint16 referenced_ls_type; - char *referenced_ls_type_str; guint8 flags; guint8 flags_string[4]; @@ -1230,7 +1219,6 @@ dissect_ospf_v3_lsa(tvbuff_t *tvb, int offset, proto_tree *tree, proto_tree_add_text(ospf_lsa_tree, tvb, offset + 2, 2, "LSA Type: 0x%04x (%s)", ls_type, val_to_str(ls_type, v3_ls_type_vals,"Unkown")); - ls_id_type = 0; proto_tree_add_text(ospf_lsa_tree, tvb, offset + 4, 4, "Link State ID: %s", ip_to_str(tvb_get_ptr(tvb, offset + 4, 4))); |