diff options
author | Ashok Narayanan <ashokn@cisco.com> | 2002-02-19 21:56:56 +0000 |
---|---|---|
committer | Ashok Narayanan <ashokn@cisco.com> | 2002-02-19 21:56:56 +0000 |
commit | cd44c487d43c41c7d66e93cd4ee81e53b495af59 (patch) | |
tree | 6ec90db3f1fa54bbc13228376d1cdc5b84d243a9 /packet-ospf.c | |
parent | ddf6a753f086df1cba37e5109cf32b8353c1464b (diff) | |
download | wireshark-cd44c487d43c41c7d66e93cd4ee81e53b495af59.tar.gz wireshark-cd44c487d43c41c7d66e93cd4ee81e53b495af59.tar.bz2 wireshark-cd44c487d43c41c7d66e93cd4ee81e53b495af59.zip |
Fixed small bug in translation of IXCD in OSPF GMPLS LSA.
svn path=/trunk/; revision=4759
Diffstat (limited to 'packet-ospf.c')
-rw-r--r-- | packet-ospf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packet-ospf.c b/packet-ospf.c index e0b91e9245..3b7c912ed2 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.57 2002/02/14 05:23:32 guy Exp $ + * $Id: packet-ospf.c,v 1.58 2002/02/19 21:56:56 ashokn Exp $ * * At this time, this module is able to analyze OSPF * packets as specified in RFC2328. MOSPF (RFC1584) and other @@ -947,8 +947,8 @@ dissect_ospf_lsa_mpls(tvbuff_t *tvb, int offset, proto_tree *tree, for (i = 0; i < 8; i++) { proto_tree_add_text(stlv_tree, tvb, stlv_offset+8+(i*4), 4, "Pri %d: %ld bytes/s (%.0f bits/s)", i, - tvb_ieee_to_long(tvb, stlv_offset + 4 + i*4), - tvb_ieee_to_long(tvb, stlv_offset + 4 + i*4) * 8.0); + tvb_ieee_to_long(tvb, stlv_offset + 8 + i*4), + tvb_ieee_to_long(tvb, stlv_offset + 8 + i*4) * 8.0); } break; |