From Chenjiang Hu: use the correct offset when fetching unreserved
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 7 May 2002 18:52:27 +0000 (18:52 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 7 May 2002 18:52:27 +0000 (18:52 +0000)
bandwidth values.

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

AUTHORS
doc/ethereal.pod.template
packet-isis-lsp.c

diff --git a/AUTHORS b/AUTHORS
index d038707ef8be524b26cd528018dab4e7487d21e6..a473b600d766d7d6e18e9619904f6e8052373fb7 100644 (file)
--- a/AUTHORS
+++ b/AUTHORS
@@ -1169,6 +1169,10 @@ Devin Heitmueller <dheitmueller[AT]netilla.com> {
        Additional RAP error code
 }
 
+Chenjiang Hu <chu[AT]chiaro.com> {
+       ISIS bug fix for dissecting unreserved bandwidths
+}
+
 Alain Magloire <alainm[AT]rcsm.ece.mcgill.ca> was kind enough to
 give his permission to use his version of snprintf.c.
 
index 611f722da189488b031698e6fd6d9efbd2cbde33..e56adb7db164a8f6f58bd719fab5433620d4499a 100644 (file)
@@ -1414,6 +1414,7 @@ B<http://www.ethereal.com>.
   Kevin Humphries          <khumphries[AT]networld.com>
   Erik Nordström           <erik.nordstrom[AT]it.uu.se>
   Devin Heitmueller        <dheitmueller[AT]netilla.com>
+  Chenjiang Hu             <chu[AT]chiaro.com>
 
 Alain Magloire <alainm[AT]rcsm.ece.mcgill.ca> was kind enough to give his
 permission to use his version of snprintf.c.
index d5dc18087302d5b5d4b7c32eee8c17b39375786f..5951d4a6113362ef7942ac3252f46c22d20548a6 100644 (file)
@@ -1,7 +1,7 @@
 /* packet-isis-lsp.c
  * Routines for decoding isis lsp packets and their CLVs
  *
- * $Id: packet-isis-lsp.c,v 1.30 2002/05/02 10:13:56 guy Exp $
+ * $Id: packet-isis-lsp.c,v 1.31 2002/05/07 18:52:26 guy Exp $
  * Stuart Stanley <stuarts@mxmail.net>
  *
  * Ethereal - Network traffic analyzer
@@ -1187,7 +1187,7 @@ dissect_subclv_unrsv_bw(tvbuff_t *tvb, proto_tree *tree, int offset)
        ntree = proto_item_add_subtree (ti, ett_isis_lsp_subclv_unrsv_bw);
 
        for (i = 0 ; i < 8 ; i++) {
-               bw = tvb_get_ntohieee_float(tvb, offset);;
+               bw = tvb_get_ntohieee_float(tvb, offset+4*i);
                proto_tree_add_text (ntree, tvb, offset+4*i, 4,
                        "priority level %d: %.2f Mbps", i, bw*8/1000000 );
        }